Details

Time bar (total: 4.2s)

sample25.0ms

Algorithm
intervals
Results
13.0ms263×body80valid

simplify63.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: 7.9b

Counts
2 → 1

localize12.0ms

Local error

Found 4 expressions with local error:

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

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

series236.0ms

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

simplify73.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
04621042
12015941
25001941

prune297.0ms

Filtered
125 candidates to 90 candidates (72.0%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New1196125
Fresh000
Picked101
Done000
Total1206126

Merged error: 0.3b

Counts
126 → 6

localize14.0ms

Local error

Found 4 expressions with local error:

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

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

series279.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
69.0ms
(fma (/ y (- (* t z) x)) z x)
64.0ms
(/ x (- (* t z) x))
39.0ms
(/ y (- (* t z) x))

simplify61.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0423735
11590652
25001650

prune351.0ms

Filtered
110 candidates to 88 candidates (80.0%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1073110
Fresh145
Picked101
Done000
Total1097116

Merged error: 0.2b

Counts
116 → 7

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
23×*-un-lft-identity times-frac
22×add-exp-log add-cube-cbrt
16×add-cbrt-cube
15×associate-*r*
pow1 div-exp prod-exp associate-/r/ associate-/l*
cbrt-undiv expm1-log1p-u associate-/r* log1p-expm1-u add-log-exp
associate-*l* cbrt-unprod div-inv unswap-sqr
flip3-- frac-2neg 1-exp associate-*l/ clear-num flip--
rec-exp flip3-+ associate-*r/ pow-prod-down un-div-inv *-commutative flip-+ fma-udef
Counts
4 → 107
Calls
4 calls:
7.0ms
(/ (fma (* y (/ 1 (- (* t z) x))) z x) (* (+ x 1.0) 1))
1.0ms
(fma (* y (/ 1 (- (* t z) x))) z x)
7.0ms
(/ x (- (* t z) x))
12.0ms
(* y (/ 1 (- (* t z) x)))

series287.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(/ (fma (* y (/ 1 (- (* t z) x))) z x) (* (+ x 1.0) 1))
70.0ms
(fma (* y (/ 1 (- (* t z) x))) z x)
74.0ms
(/ x (- (* t z) x))
37.0ms
(* y (/ 1 (- (* t z) x)))

simplify73.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0510828
12145713
25001701

prune352.0ms

Filtered
119 candidates to 91 candidates (76.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1190119
Fresh066
Picked011
Done000
Total1197126

Merged error: 0.2b

Counts
126 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

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

rewrite60.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)
25.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
12.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
11.0ms
(/ (- (* t z) x) (- (* y z) x))

series379.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(- (* y z) x)
183.0ms
(/ (+ x (/ 1 (/ (- (* t z) x) (- (* y z) x)))) (+ x 1.0))
99.0ms
(/ 1 (/ (- (* t z) x) (- (* y z) x)))
70.0ms
(/ (- (* t z) x) (- (* y z) x))

simplify121.0ms

Algorithm
egg-herbie
Counts
197 → 197
Iterations

Useful iterations: 2 (97.0ms)

IterNodesCost
06762096
133311893
250011810

prune393.0ms

Filtered
197 candidates to 117 candidates (59.4%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1970197
Fresh055
Picked011
Done011
Total1977204

Merged error: 0.2b

Counts
204 → 7

regimes185.0ms

Accuracy

41.5% (2.5b remaining)

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

bsearch134.0ms

Steps
ItersRangePoint
9
1.8652500212734269e-07
0.019205428735188275
7.361573319340001e-05
8
-6.821300429682039e+69
-1.1151701921709721e+67
-1.1274418778118125e+67

simplify3.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
04023
14223
24223

end0.0ms

sample632.0ms

Algorithm
intervals
Results
403.0ms8312×body80valid

Profiling

Loading profile data...