Details

Time bar (total: 4.0s)

sample22.0ms

Algorithm
intervals
Results
10.0ms267×body80valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 7.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.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:
4.0ms
(- (* y z) x)
5.0ms
(- (* t z) x)
20.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
10.0ms
(/ (- (* y z) x) (- (* t z) x))

series243.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- (* y z) x)
26.0ms
(- (* t z) x)
133.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
61.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify78.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
04621042
12015941
25001941

prune367.0ms

Filtered
125 candidates to 90 candidates (72.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1187125
Fresh000
Picked101
Done000
Total1197126

Merged error: 0.0b

Counts
126 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
2.2b
(/ y (- (* t z) x))
2.4b
(/ x (- (* t z) x))
4.0b
(fma (/ y (- (* t z) x)) z x)

rewrite27.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))
10.0ms
(/ x (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)

series270.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
33.0ms
(/ y (- (* t z) x))
76.0ms
(/ x (- (* t z) x))
64.0ms
(fma (/ y (- (* t z) x)) z x)

simplify60.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0423735
11590652
25002650

prune387.0ms

Filtered
110 candidates to 88 candidates (80.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1082110
Fresh156
Picked101
Done000
Total1107117

Merged error: 0b

Counts
117 → 7

localize16.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ 1 (/ (- (* t z) x) y))
2.2b
(/ (- (* t z) x) y)
2.4b
(/ x (- (* t z) x))
4.0b
(fma (/ 1 (/ (- (* t z) x) y)) z x)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
93×times-frac
62×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
19×add-exp-log associate-/r*
13×add-cbrt-cube
div-exp associate-/l*
div-inv
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r/
rec-exp flip3-- 1-exp flip-- associate-/l/
pow-flip div-sub fma-udef inv-pow
Counts
4 → 151
Calls
4 calls:
8.0ms
(/ 1 (/ (- (* t z) x) y))
7.0ms
(/ (- (* t z) x) y)
6.0ms
(/ x (- (* t z) x))
1.0ms
(fma (/ 1 (/ (- (* t z) x) y)) z x)

series225.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ 1 (/ (- (* t z) x) y))
60.0ms
(/ (- (* t z) x) y)
62.0ms
(/ x (- (* t z) x))
53.0ms
(fma (/ 1 (/ (- (* t z) x) y)) z x)

simplify83.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05081180
123721055
25002983

prune492.0ms

Filtered
163 candidates to 104 candidates (63.8%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1612163
Fresh246
Picked101
Done000
Total1646170

Merged error: 0b

Counts
170 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (+ (* (/ z (- (* t z) x)) y) x) (* (+ x 1.0) 1))
2.4b
(/ x (- (* t z) x))
3.0b
(* (/ z (- (* t z) x)) y)
7.4b
(/ z (- (* t z) x))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
35×add-sqr-sqrt
31×times-frac
30×add-cube-cbrt *-un-lft-identity
20×add-exp-log
18×add-cbrt-cube
15×associate-*l*
associate-/l*
associate-/r/
associate-/r*
pow1 div-exp
cbrt-undiv
expm1-log1p-u prod-exp log1p-expm1-u div-inv add-log-exp
flip3-- frac-2neg associate-*r* associate-*l/ clear-num flip-- cbrt-unprod
flip3-+ flip-+ associate-/l/ unswap-sqr
1-exp pow-prod-down *-commutative
Counts
4 → 126
Calls
4 calls:
15.0ms
(/ (+ (* (/ z (- (* t z) x)) y) x) (* (+ x 1.0) 1))
6.0ms
(/ x (- (* t z) x))
10.0ms
(* (/ z (- (* t z) x)) y)
6.0ms
(/ z (- (* t z) x))

series270.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(/ (+ (* (/ z (- (* t z) x)) y) x) (* (+ x 1.0) 1))
67.0ms
(/ x (- (* t z) x))
67.0ms
(* (/ z (- (* t z) x)) y)
34.0ms
(/ z (- (* t z) x))

simplify80.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
0561927
12380825
25001825

prune476.0ms

Filtered
138 candidates to 108 candidates (78.3%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1362138
Fresh235
Picked011
Done000
Total1386144

Merged error: 0b

Counts
144 → 6

regimes125.0ms

Accuracy

0% (1.8b remaining)

Error of 2.0b against oracle of 0.2b and baseline of 2.0b

bsearch0.0ms

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02414
12614
22614

end0.0ms

sample559.0ms

Algorithm
intervals
Results
336.0ms8331×body80valid