Details

Time bar (total: 4.5s)

sample21.0ms

Algorithm
intervals
Results
10.0ms263×body80valid

simplify50.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: 8.6b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite48.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:
12.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
8.0ms
(- (* y z) x)
15.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.0ms
(/ (- (* y z) x) (- (* t z) x))

series298.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
23.0ms
(- (* y z) x)
132.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
59.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify68.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (54.0ms)

IterNodesCost
04551085
119871003
250011002

prune317.0ms

Filtered
125 candidates to 93 candidates (74.4%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New1169125
Fresh000
Picked101
Done000
Total1179126

Merged error: 1.0b

Counts
126 → 9

localize12.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
2.4b
(fma (/ y (- (* t z) x)) z x)
3.0b
(/ x (- (* t z) x))
3.6b
(/ y (- (* t z) x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
56×*-un-lft-identity
47×times-frac
32×add-cube-cbrt
12×associate-/l*
10×add-exp-log associate-/r* add-cbrt-cube difference-of-squares
distribute-lft-out
associate-/r/
distribute-lft-out--
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 → 125
Calls
4 calls:
17.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
1.0ms
(fma (/ y (- (* t z) x)) z x)
5.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series276.0ms

Counts
4 → 12
Calls
4 calls:
127.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
56.0ms
(fma (/ y (- (* t z) x)) z x)
64.0ms
(/ x (- (* t z) x))
28.0ms
(/ y (- (* t z) x))

simplify62.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04881388
116791305
250021301

prune388.0ms

Filtered
137 candidates to 105 candidates (76.6%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New1316137
Fresh358
Picked101
Done000
Total13511146

Merged error: 0.7b

Counts
146 → 11

localize17.0ms

Local error

Found 4 expressions with local error:

1.0b
(/ (- (+ (* (/ y (- (* t z) x)) z) x) (/ x (- (* t z) x))) (+ x 1.0))
3.0b
(/ x (- (* t z) x))
3.6b
(/ y (- (* t z) x))
8.7b
(* (/ y (- (* t z) x)) z)

rewrite49.0ms

Algorithm
rewrite-expression-head
Rules
70×add-sqr-sqrt
64×*-un-lft-identity
57×times-frac
40×add-cube-cbrt
15×add-exp-log associate-*l* add-cbrt-cube
12×associate-/l*
10×associate-/r* difference-of-squares
associate-/r/
distribute-lft-out
pow1
distribute-lft-out--
cbrt-undiv expm1-log1p-u flip3-- div-exp flip-- log1p-expm1-u div-inv associate-/l/ add-log-exp
frac-2neg associate-*r* clear-num
flip3-+ prod-exp frac-sub cbrt-unprod flip-+ unswap-sqr
div-sub pow-prod-down associate-*l/ *-commutative
Counts
4 → 153
Calls
4 calls:
24.0ms
(/ (- (+ (* (/ y (- (* t z) x)) z) x) (/ x (- (* t z) x))) (+ x 1.0))
5.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))
9.0ms
(* (/ y (- (* t z) x)) z)

series262.0ms

Counts
4 → 12
Calls
4 calls:
131.0ms
(/ (- (+ (* (/ y (- (* t z) x)) z) x) (/ x (- (* t z) x))) (+ x 1.0))
60.0ms
(/ x (- (* t z) x))
35.0ms
(/ y (- (* t z) x))
35.0ms
(* (/ y (- (* t z) x)) z)

simplify69.0ms

Algorithm
egg-herbie
Counts
165 → 165
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
06121637
123251519
250021512

prune445.0ms

Filtered
165 candidates to 127 candidates (77.0%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1650165
Fresh01010
Picked011
Done000
Total16511176

Merged error: 0.7b

Counts
176 → 11

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite65.0ms

Algorithm
rewrite-expression-head
Rules
110×times-frac
95×*-un-lft-identity
68×add-sqr-sqrt add-cube-cbrt
22×associate-/r*
19×add-exp-log
16×distribute-lft-out
13×associate-/r/ add-cbrt-cube
12×div-inv
11×associate-/l*
div-exp
flip3-- flip--
add-log-exp
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u associate-/l/
frac-2neg prod-diff clear-num
rec-exp flip3-+ 1-exp flip-+
sub-neg pow-flip fma-neg diff-log div-sub inv-pow
Counts
4 → 185
Calls
4 calls:
5.0ms
(- (* y z) x)
12.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
30.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
10.0ms
(/ (- (* t z) x) (- (* y z) x))

series345.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(- (* y z) x)
92.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
155.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
76.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify116.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (89.0ms)

IterNodesCost
06762096
133311893
250021810

prune601.0ms

Filtered
197 candidates to 117 candidates (59.4%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1970197
Fresh099
Picked011
Done011
Total19711208

Merged error: 0.7b

Counts
208 → 11

regimes289.0ms

Accuracy

31.3% (3.0b remaining)

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

bsearch98.0ms

Steps
ItersRangePoint
7
1.0457934021786247e+152
3.9412713861764114e+153
8.47319336551829e+152
8
-2.6884485280844006e+105
-5.741355610885231e+101
-5.874196590755773e+101

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03924
13924

end0.0ms

sample561.0ms

Algorithm
intervals
Results
339.0ms8334×body80valid