Details

Time bar (total: 4.6s)

sample23.0ms

Algorithm
intervals
Results
11.0ms272×body80valid

simplify68.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

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

rewrite92.0ms

Algorithm
rewrite-expression-head
Rules
116×*-un-lft-identity
110×add-sqr-sqrt
65×times-frac
32×distribute-lft-out-- difference-of-squares
30×add-cube-cbrt
16×associate-*l* unswap-sqr
11×associate-/r* distribute-lft-out associate-/l*
add-exp-log add-cbrt-cube
add-log-exp
div-sub associate-/r/ associate-/l/
pow1 expm1-log1p-u fma-def flip3-+ flip-+ log1p-expm1-u
cbrt-undiv associate-+r- flip3-- frac-2neg div-exp clear-num flip-- div-inv
+-commutative sum-log
Counts
3 → 143
Calls
3 calls:
26.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
32.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
27.0ms
(/ (- (* y z) x) (- (* t z) x))

series307.0ms

Counts
3 → 9
Calls
3 calls:
97.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
142.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
68.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify74.0ms

Algorithm
egg-herbie
Counts
152 → 152
Iterations

Useful iterations: 2 (55.0ms)

IterNodesCost
05071547
116491486
250021481

prune287.0ms

Filtered
152 candidates to 99 candidates (65.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1439152
Fresh000
Picked101
Done000
Total1449153

Merged error: 0.2b

Counts
153 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.3b
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
1.5b
(/ y (- (* t z) x))
2.4b
(fma (/ y (- (* t z) x)) z x)
2.4b
(/ x (- (* t z) x))

rewrite58.0ms

Algorithm
rewrite-expression-head
Rules
105×add-sqr-sqrt
96×*-un-lft-identity
71×times-frac
40×add-cube-cbrt
26×difference-of-squares
21×distribute-lft-out--
18×associate-/r*
12×associate-/l*
10×add-exp-log add-cbrt-cube
associate-*l* unswap-sqr
distribute-lft-out
associate-/r/
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
associate-/l/
flip3-+ div-sub flip-+ fma-udef
Counts
4 → 157
Calls
4 calls:
31.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
10.0ms
(/ y (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)
10.0ms
(/ x (- (* t z) x))

series310.0ms

Counts
4 → 12
Calls
4 calls:
140.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
37.0ms
(/ y (- (* t z) x))
60.0ms
(fma (/ y (- (* t z) x)) z x)
72.0ms
(/ x (- (* t z) x))

simplify77.0ms

Algorithm
egg-herbie
Counts
169 → 169
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
05331624
117661541
250011533

prune379.0ms

Filtered
169 candidates to 121 candidates (71.6%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New1672169
Fresh358
Picked011
Done000
Total1708178

Merged error: 0.0b

Counts
178 → 8

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite112.0ms

Algorithm
rewrite-expression-head
Rules
135×*-un-lft-identity
132×add-sqr-sqrt
75×times-frac
45×add-cube-cbrt
32×distribute-lft-out-- difference-of-squares
23×associate-/r*
20×frac-times associate-*l* associate-/l*
19×add-exp-log unswap-sqr
18×associate-*r*
14×flip3-+ flip-+
13×add-cbrt-cube
12×distribute-lft-out
10×associate-*r/
pow1
clear-num associate-/r/ add-log-exp
frac-2neg div-exp
expm1-log1p-u prod-exp log1p-expm1-u
cbrt-undiv fma-def un-div-inv div-inv
rec-exp flip3-- 1-exp div-sub associate-*l/ flip-- cbrt-unprod associate-/l/
+-commutative associate-+r- pow-flip pow-prod-down sum-log *-commutative inv-pow
Counts
4 → 216
Calls
4 calls:
28.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
6.0ms
(/ 1 (+ x 1.0))
38.0ms
(* (+ x (/ (- (* y z) x) (- (* t z) x))) (/ 1 (+ x 1.0)))
27.0ms
(/ (- (* y z) x) (- (* t z) x))

series335.0ms

Counts
4 → 12
Calls
4 calls:
99.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
27.0ms
(/ 1 (+ x 1.0))
146.0ms
(* (+ x (/ (- (* y z) x) (- (* t z) x))) (/ 1 (+ x 1.0)))
64.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify110.0ms

Algorithm
egg-herbie
Counts
228 → 228
Iterations

Useful iterations: 2 (85.0ms)

IterNodesCost
07272284
130972154
250022099

prune396.0ms

Filtered
228 candidates to 136 candidates (59.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New2280228
Fresh066
Picked011
Done011
Total2288236

Merged error: 0.0b

Counts
236 → 8

localize27.0ms

Local error

Found 4 expressions with local error:

4.8b
(cbrt (- (* y z) x))
7.2b
(cbrt (- (* t z) x))
7.2b
(cbrt (- (* t z) x))
7.2b
(cbrt (- (* t z) x))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
28×cbrt-prod add-sqr-sqrt
24×*-un-lft-identity
add-cube-cbrt cbrt-div distribute-lft-out-- difference-of-squares
pow1 add-exp-log expm1-log1p-u flip3-- pow1/3 associate-*l* add-cbrt-cube flip-- log1p-expm1-u add-log-exp unswap-sqr
Counts
4 → 76
Calls
4 calls:
8.0ms
(cbrt (- (* y z) x))
8.0ms
(cbrt (- (* t z) x))
8.0ms
(cbrt (- (* t z) x))
9.0ms
(cbrt (- (* t z) x))

series576.0ms

Counts
4 → 12
Calls
4 calls:
145.0ms
(cbrt (- (* y z) x))
142.0ms
(cbrt (- (* t z) x))
149.0ms
(cbrt (- (* t z) x))
139.0ms
(cbrt (- (* t z) x))

simplify126.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 4 (117.0ms)

IterNodesCost
0290616
1669588
21740564
34050552
45001548

prune321.0ms

Filtered
88 candidates to 76 candidates (86.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New87188
Fresh145
Picked101
Done022
Total89796

Merged error: 0.0b

Counts
96 → 7

regimes171.0ms

Accuracy

23.3% (3.1b remaining)

Error of 3.3b against oracle of 0.2b and baseline of 4.3b

bsearch103.0ms

Steps
ItersRangePoint
8
1.1014326880193949e+92
6.1088043612585184e+94
5.735434029505539e+92
7
-7.33017579798702e-213
-7.60612984486404e-215
-9.440250919566794e-214

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03723
13723

end0.0ms

sample584.0ms

Algorithm
intervals
Results
356.0ms8349×body80valid