Details

Time bar (total: 3.6s)

sample28.0ms

Algorithm
intervals
Results
15.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: 5.1b

Counts
2 → 1

localize13.0ms

Local error

Found 2 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
40×*-un-lft-identity
25×times-frac
20×add-sqr-sqrt add-cube-cbrt
10×distribute-lft-out
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
associate-/r/ associate-/l/
div-sub
pow1 cbrt-undiv expm1-log1p-u flip3-- frac-2neg flip3-+ div-exp clear-num flip-- flip-+ log1p-expm1-u div-inv add-log-exp
associate-+r-
Counts
2 → 77
Calls
2 calls:
16.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
10.0ms
(/ (- (* y z) x) (- (* t z) x))

series199.0ms

Counts
2 → 6
Calls
2 calls:
133.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
66.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify60.0ms

Algorithm
egg-herbie
Counts
83 → 83
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0377860
11373803
25001802

prune242.0ms

Filtered
83 candidates to 62 candidates (74.7%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New75883
Fresh000
Picked101
Done000
Total76884

Merged error: 0.3b

Counts
84 → 8

localize16.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
1.3b
(/ y (- (* t z) x))
1.4b
(fma (/ y (- (* t z) x)) z x)
2.6b
(/ x (- (* t z) x))

rewrite22.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))

series251.0ms

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

simplify59.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
0423735
11590652
25001650

prune325.0ms

Filtered
110 candidates to 88 candidates (80.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1073110
Fresh257
Picked101
Done000
Total1108118

Merged error: 0.0b

Counts
118 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ 1 (/ (- (* t z) x) y))
1.2b
(/ (- (* t z) x) y)
1.4b
(fma (/ 1 (/ (- (* t z) x) y)) z x)
2.6b
(/ x (- (* t 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)
1.0ms
(fma (/ 1 (/ (- (* t z) x) y)) z x)
6.0ms
(/ x (- (* t z) x))

series226.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(/ 1 (/ (- (* t z) x) y))
58.0ms
(/ (- (* t z) x) y)
48.0ms
(fma (/ 1 (/ (- (* t z) x) y)) z x)
69.0ms
(/ x (- (* t z) x))

simplify80.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (64.0ms)

IterNodesCost
05081180
123721055
25002983

prune401.0ms

Filtered
163 candidates to 104 candidates (63.8%)
Pruning

8 alts after pruning (8 fresh and 0 done)

PrunedKeptTotal
New1612163
Fresh167
Picked101
Done000
Total1638171

Merged error: 0.0b

Counts
171 → 8

localize18.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (+ (* (/ z (- (* t z) x)) y) x) (* (+ x 1.0) 1))
1.6b
(* (/ z (- (* t z) x)) y)
2.6b
(/ x (- (* t z) x))
6.9b
(/ z (- (* t z) x))

rewrite46.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:
20.0ms
(/ (+ (* (/ z (- (* t z) x)) y) x) (* (+ x 1.0) 1))
9.0ms
(* (/ z (- (* t z) x)) y)
6.0ms
(/ x (- (* t z) x))
7.0ms
(/ z (- (* t z) x))

series264.0ms

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

simplify80.0ms

Algorithm
egg-herbie
Counts
138 → 138
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
0561927
12380825
25001825

prune363.0ms

Filtered
138 candidates to 108 candidates (78.3%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1371138
Fresh167
Picked101
Done000
Total1397146

Merged error: 0.0b

Counts
146 → 7

regimes172.0ms

Accuracy

0% (1.9b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
02013
12013

end0.0ms

sample629.0ms

Algorithm
intervals
Results
410.0ms8322×body80valid