Details

Time bar (total: 3.6s)

sample22.0ms

Algorithm
intervals
Results
11.0ms269×body80valid

simplify45.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.9b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(+ x (/ (- (* y z) x) (- (* t z) x)))
0.3b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.4b
(/ (- (* y z) x) (- (* t z) x))

rewrite97.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:
3.0ms
(- (* y z) x)
18.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
61.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series266.0ms

Counts
4 → 12
Calls
4 calls:
20.0ms
(- (* y z) x)
78.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
112.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
55.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify57.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04551085
119871003
250011002

prune300.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.2b

localize17.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
3.1b
(fma (/ y (- (* t z) x)) z x)
3.2b
(/ x (- (* t z) x))
3.5b
(/ y (- (* t z) x))

rewrite19.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)
6.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series222.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
51.0ms
(fma (/ y (- (* t z) x)) z x)
58.0ms
(/ x (- (* t z) x))
27.0ms
(/ y (- (* t z) x))

simplify49.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0423735
11590652
25001650

prune332.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (/ 1 (+ x 1.0)) (fma (/ y (- (* t z) x)) z x))
3.1b
(fma (/ y (- (* t z) x)) z x)
3.2b
(/ x (- (* t z) x))
3.5b
(/ y (- (* t z) x))

rewrite35.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:
17.0ms
(* (/ 1 (+ 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))

series212.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(* (/ 1 (+ x 1.0)) (fma (/ y (- (* t z) x)) z x))
52.0ms
(fma (/ y (- (* t z) x)) z x)
54.0ms
(/ x (- (* t z) x))
28.0ms
(/ y (- (* t z) x))

simplify51.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0468900
11905801
25002791

prune358.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (fma (/ y (- (* t z) x)) z x) (+ x 1.0))
3.1b
(fma (/ y (- (* t z) x)) z x)
3.2b
(/ x (- (* t z) x))
3.5b
(/ y (- (* 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 associate-/r* add-cbrt-cube
associate-/l*
associate-/r/
pow1 expm1-log1p-u log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
flip3-- flip--
flip3-+ flip-+ fma-udef
Counts
4 → 107
Calls
4 calls:
8.0ms
(/ (fma (/ y (- (* t z) x)) z x) (+ x 1.0))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series225.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(/ (fma (/ y (- (* t z) x)) z x) (+ x 1.0))
52.0ms
(fma (/ y (- (* t z) x)) z x)
59.0ms
(/ x (- (* t z) x))
28.0ms
(/ y (- (* t z) x))

simplify45.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0388848
11362779
25001777

prune345.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes145.0ms

Accuracy

44.5% (2.4b remaining)

Error of 2.6b against oracle of 0.2b and baseline of 4.5b

bsearch147.0ms

Steps
ItersRangePoint
8
2.848860754869618e-08
0.00019291992041492315
2.4239775156878546e-06
9
-7.890082035142782e-129
-3.532474056345544e-138
-4.817924185687848e-129
10
-4.1579563909415707e+152
-8.646864678386215e+142
-4.748701117113838e+147

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04539
14739
24739

end0.0ms

sample561.0ms

Algorithm
intervals
Results
349.0ms8382×body80valid