Details

Time bar (total: 4.1s)

sample26.0ms

Algorithm
intervals
Results
13.0ms266×body80valid

simplify67.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.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.1b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y 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))

rewrite41.0ms

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

series256.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* y z) x)
25.0ms
(- (* t z) x)
133.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
67.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify76.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
04621042
12015941
25001941

prune377.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.5b
(/ y (- (* t z) x))
2.5b
(fma (/ y (- (* t z) x)) z x)
3.0b
(/ x (- (* 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:
7.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
6.0ms
(/ y (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))

series264.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
31.0ms
(/ y (- (* t z) x))
63.0ms
(fma (/ y (- (* t z) x)) z x)
70.0ms
(/ x (- (* t z) x))

simplify58.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0423735
11590652
25001650

prune412.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize20.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (+ x 1.0) (fma (/ y (- (* t z) x)) z x))
2.5b
(/ y (- (* t z) x))
2.5b
(fma (/ y (- (* t z) x)) z x)
3.0b
(/ x (- (* t z) x))

rewrite23.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:
6.0ms
(/ (+ x 1.0) (fma (/ y (- (* t z) x)) z x))
6.0ms
(/ y (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))

series245.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(/ (+ x 1.0) (fma (/ y (- (* t z) x)) z x))
32.0ms
(/ y (- (* t z) x))
66.0ms
(fma (/ y (- (* t z) x)) z x)
65.0ms
(/ x (- (* t z) x))

simplify52.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0358835
11289769
25001769

prune443.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (/ 1 (+ x 1.0)) (fma (/ y (- (* t z) x)) z x))
2.5b
(/ y (- (* t z) x))
2.5b
(fma (/ y (- (* t z) x)) z x)
3.0b
(/ x (- (* t z) x))

rewrite33.0ms

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

series258.0ms

Counts
4 → 12
Calls
4 calls:
98.0ms
(* (/ 1 (+ x 1.0)) (fma (/ y (- (* t z) x)) z x))
31.0ms
(/ y (- (* t z) x))
65.0ms
(fma (/ y (- (* t z) x)) z x)
64.0ms
(/ x (- (* t z) x))

simplify69.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
0468900
11905801
25002791

prune446.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.5b

regimes198.0ms

Accuracy

35.9% (2.9b remaining)

Error of 3.2b against oracle of 0.3b and baseline of 4.9b

bsearch86.0ms

Steps
ItersRangePoint
3
3.325624108380948e+76
4.649576028066181e+76
4.5668290330858535e+76
9
-2.355035228211621e+66
-1.5442358469082974e+61
-6.308835771186266e+63

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03926
13926

end0.0ms

sample581.0ms

Algorithm
intervals
Results
349.0ms8339×body80valid