Details

Time bar (total: 4.4s)

sample22.0ms

Algorithm
intervals
Results
10.0ms267×body80valid

simplify57.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.4b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.0b
(- (* t z) x)
0.5b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.2b
(/ (- (* y z) x) (- (* t z) x))

rewrite96.0ms

Algorithm
rewrite-expression-head
Rules
46×*-un-lft-identity
25×times-frac
24×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 expm1-log1p-u div-sub associate-/r/ log1p-expm1-u associate-/l/
flip3-- fma-def flip3-+ prod-diff flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg fma-neg diff-log sum-log
Counts
4 → 113
Calls
4 calls:
21.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* t z) x)
56.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series325.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
26.0ms
(- (* t z) x)
140.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
64.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify69.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
04531085
119871003
250011002

prune386.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
2.3b
(fma (/ y (- (* t z) x)) z x)
3.3b
(/ x (- (* t z) x))
3.5b
(/ y (- (* t z) x))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
21×times-frac
15×add-exp-log
13×add-cbrt-cube
associate-/l*
associate-/r*
associate-/r/
div-exp
pow1 cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num div-inv
flip3-- associate-*l/ prod-exp flip--
flip3-+ 1-exp cbrt-unprod flip-+ fma-udef
Counts
4 → 98
Calls
4 calls:
5.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
0.0ms
(fma (/ y (- (* t z) x)) z x)
5.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series263.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
61.0ms
(fma (/ y (- (* t z) x)) z x)
71.0ms
(/ x (- (* t z) x))
33.0ms
(/ y (- (* t z) x))

simplify55.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0423735
11590652
25001650

prune428.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ 1 (- (* t z) x))
2.3b
(fma (* y (/ 1 (- (* t z) x))) z x)
3.1b
(* y (/ 1 (- (* t z) x)))
3.3b
(/ x (- (* t z) x))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
29×*-un-lft-identity times-frac
28×add-cube-cbrt
19×add-exp-log
15×associate-*r*
13×add-cbrt-cube
pow1
associate-/r* associate-/r/ associate-/l*
div-exp
expm1-log1p-u prod-exp log1p-expm1-u add-log-exp
cbrt-undiv flip3-- associate-*l* flip-- div-inv unswap-sqr
rec-exp frac-2neg 1-exp clear-num cbrt-unprod
pow-flip associate-*r/ pow-prod-down un-div-inv *-commutative fma-udef inv-pow
Counts
4 → 116
Calls
4 calls:
6.0ms
(/ 1 (- (* t z) x))
1.0ms
(fma (* y (/ 1 (- (* t z) x))) z x)
16.0ms
(* y (/ 1 (- (* t z) x)))
6.0ms
(/ x (- (* t z) x))

series189.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(/ 1 (- (* t z) x))
65.0ms
(fma (* y (/ 1 (- (* t z) x))) z x)
29.0ms
(* y (/ 1 (- (* t z) x)))
67.0ms
(/ x (- (* t z) x))

simplify57.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0353722
11547634
25002608

prune431.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.5b

localize15.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (+ x 1.0) (fma (/ y (- (* t z) x)) z x))
2.3b
(fma (/ y (- (* t z) x)) z x)
3.3b
(/ x (- (* t z) x))
3.5b
(/ y (- (* t z) x))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
30×times-frac
29×add-sqr-sqrt add-cube-cbrt
10×add-exp-log add-cbrt-cube associate-/l*
associate-/r*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
flip3-- flip-- associate-/l/
flip3-+ flip-+ fma-udef
Counts
4 → 107
Calls
4 calls:
8.0ms
(/ (+ x 1.0) (fma (/ y (- (* t z) x)) z x))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series248.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (+ x 1.0) (fma (/ y (- (* t z) x)) z x))
63.0ms
(fma (/ y (- (* t z) x)) z x)
64.0ms
(/ x (- (* t z) x))
38.0ms
(/ y (- (* t z) x))

simplify46.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
0358835
11289769
25001769

prune413.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.5b

regimes242.0ms

Accuracy

38% (2.7b remaining)

Error of 2.9b against oracle of 0.3b and baseline of 4.6b

bsearch101.0ms

Steps
ItersRangePoint
6
7.685828937689965e+76
4.342265995353652e+77
2.8212707323659926e+77
8
-9.958721223374504e-77
-3.460978998595751e-79
-6.6172136846957955e-77

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04328
14528
24528

end0.0ms

sample781.0ms

Algorithm
intervals
Results
560.0ms8327×body80valid