Details

Time bar (total: 16.8s)

sample33.0ms

Algorithm
intervals
Results
17.0ms325×body80valid

simplify100.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01012
11612
22912
34212
44912
55512
66012
76212
done6212

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 2.2b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
5.2b
(* (/ x y) z)

rewrite181.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r* associate-*l/ associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 117
Calls
3 calls:
37.0ms
(/ (+ x 4.0) y)
107.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
28.0ms
(* (/ x y) z)

series123.0ms

Counts
3 → 9
Calls
3 calls:
36.0ms
(/ (+ x 4.0) y)
58.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
29.0ms
(* (/ x y) z)

simplify2.7s

Counts
126 → 126
Iterations

Useful iterations: done (2.7s)

IterNodesCost
01651542
13981481
211521348
337461275
done50001256

prune452.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize19.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ x 4.0) (* x z))
1.9b
(/ (- (+ x 4.0) (* x z)) y)

rewrite195.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity
12×add-sqr-sqrt add-cube-cbrt
times-frac
add-log-exp
add-exp-log fma-neg prod-diff add-cbrt-cube
associate-/r* associate-/l*
pow1 expm1-log1p-u flip3-- diff-log flip-- log1p-expm1-u associate-/l/ distribute-lft-out
cbrt-undiv sub-neg frac-2neg div-sub div-exp associate--l+ clear-num sum-log div-inv
Counts
2 → 56
Calls
2 calls:
75.0ms
(- (+ x 4.0) (* x z))
117.0ms
(/ (- (+ x 4.0) (* x z)) y)

series108.0ms

Counts
2 → 6
Calls
2 calls:
25.0ms
(- (+ x 4.0) (* x z))
83.0ms
(/ (- (+ x 4.0) (* x z)) y)

simplify2.5s

Counts
62 → 62
Iterations

Useful iterations: done (2.5s)

IterNodesCost
097834
1232809
2730737
33028729
done5001725

prune211.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize10.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (+ x 4.0) (* x z))
2.0b
(* (- (+ x 4.0) (* x z)) (/ 1 y))

rewrite230.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
17×*-un-lft-identity
13×associate-*r*
12×add-cube-cbrt
11×add-exp-log times-frac
add-cbrt-cube add-log-exp
pow1 fma-neg prod-diff prod-exp
flip3-- associate-*l* flip-- unswap-sqr
expm1-log1p-u frac-times diff-log div-exp associate-*l/ cbrt-unprod log1p-expm1-u distribute-lft-out
cbrt-undiv sub-neg rec-exp 1-exp associate-*r/ pow-prod-down associate--l+ sum-log un-div-inv *-commutative div-inv
Counts
2 → 66
Calls
2 calls:
71.0ms
(- (+ x 4.0) (* x z))
157.0ms
(* (- (+ x 4.0) (* x z)) (/ 1 y))

series94.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(- (+ x 4.0) (* x z))
56.0ms
(* (- (+ x 4.0) (* x z)) (/ 1 y))

simplify4.1s

Counts
72 → 72
Iterations

Useful iterations: 3 (2.1s)

IterNodesCost
01241018
1300903
2963791
34710771
done5000771

prune250.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

localize20.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (+ x 4.0) y)
0.0b
(- (/ (+ x 4.0) y) (* (/ x y) z))
5.2b
(* (/ x y) z)

rewrite145.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
46×times-frac
41×add-sqr-sqrt
36×add-cube-cbrt
16×fma-neg prod-diff
13×associate-*l*
10×add-exp-log add-cbrt-cube distribute-lft-out
pow1 add-log-exp
div-inv associate-/l*
expm1-log1p-u associate-*r* associate-*l/ associate-/r* log1p-expm1-u
cbrt-undiv div-exp prod-exp cbrt-unprod associate-/l/ unswap-sqr
sub-neg flip3-- frac-2neg flip3-+ diff-log pow-prod-down clear-num *-commutative frac-sub flip-- flip-+ sub-div
Counts
3 → 117
Calls
3 calls:
20.0ms
(/ (+ x 4.0) y)
105.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
15.0ms
(* (/ x y) z)

series144.0ms

Counts
3 → 9
Calls
3 calls:
49.0ms
(/ (+ x 4.0) y)
67.0ms
(- (/ (+ x 4.0) y) (* (/ x y) z))
27.0ms
(* (/ x y) z)

simplify2.9s

Counts
126 → 126
Iterations

Useful iterations: done (2.9s)

IterNodesCost
01651542
13981481
211521348
337461275
done50001256

prune468.0ms

Pruning

5 alts after pruning (2 fresh and 3 done)

Merged error: 0b

regimes53.0ms

Accuracy

52.8% (1.6b remaining)

Error of 1.6b against oracle of 0.0b and baseline of 3.4b

bsearch3.0ms

simplify3.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
01938
12536
done2536

end0.0ms

sample1.6s

Algorithm
intervals
Results
1.3s10087×body80valid