Details

Time bar (total: 3.8s)

sample38.0ms

Algorithm
intervals
Results
20.0ms263×body80valid

simplify66.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.0b

localize19.0ms

Local error

Found 4 expressions with local error:

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

rewrite122.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:
3.0ms
(- (* t z) x)
3.0ms
(- (* y z) x)
92.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
20.0ms
(/ (- (* y z) x) (- (* t z) x))

series219.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- (* t z) x)
21.0ms
(- (* y z) x)
120.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
55.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify60.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (12.0ms)

IterNodesCost
04621042
12015941
25001941

prune334.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.9b

localize14.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
2.4b
(/ x (- (* t z) x))
3.0b
(fma (/ y (- (* t z) x)) z x)
3.3b
(/ y (- (* t z) x))

rewrite19.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:
5.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
5.0ms
(/ x (- (* t z) x))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ y (- (* t z) x))

series223.0ms

Counts
4 → 12
Calls
4 calls:
81.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
59.0ms
(/ x (- (* t z) x))
55.0ms
(fma (/ y (- (* t z) x)) z x)
28.0ms
(/ y (- (* t z) x))

simplify49.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0423735
11590652
25001650

prune330.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.8b

localize15.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
2.1b
(* x (/ 1 (- (* t z) x)))
3.0b
(fma (/ y (- (* t z) x)) z x)
3.3b
(/ y (- (* t z) x))

rewrite34.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:
5.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
19.0ms
(* x (/ 1 (- (* t z) x)))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ y (- (* t z) x))

series224.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
58.0ms
(* x (/ 1 (- (* t z) x)))
54.0ms
(fma (/ y (- (* t z) x)) z x)
29.0ms
(/ y (- (* t z) x))

simplify63.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0510780
12155676
25001659

prune385.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.8b

localize19.0ms

Local error

Found 4 expressions with local error:

0.9b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
1.6b
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (/ 1 (- (* t z) x))))
3.0b
(fma (/ y (- (* t z) x)) z x)
3.3b
(/ y (- (* t z) x))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
48×add-exp-log
25×prod-exp
22×add-cbrt-cube
16×pow1
14×add-sqr-sqrt add-cube-cbrt *-un-lft-identity cbrt-unprod
12×times-frac
div-exp pow-prod-down
associate-/l*
cbrt-undiv
expm1-log1p-u associate-/r* associate-/r/ log1p-expm1-u add-log-exp
1-exp associate-*r/
rec-exp frac-2neg associate-*l/ clear-num div-inv
flip3-- flip3-+ associate-*r* associate-*l* un-div-inv *-commutative flip-- flip-+ fma-udef
Counts
4 → 101
Calls
4 calls:
5.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
32.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (/ 1 (- (* t z) x))))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ y (- (* t z) x))

series246.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
78.0ms
(* (* (cbrt x) (cbrt x)) (* (cbrt x) (/ 1 (- (* t z) x))))
54.0ms
(fma (/ y (- (* t z) x)) z x)
28.0ms
(/ y (- (* t z) x))

simplify59.0ms

Algorithm
egg-herbie
Counts
113 → 113
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
0529936
12177719
25002681

prune320.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.8b

regimes204.0ms

Accuracy

33.4% (3.1b remaining)

Error of 3.4b against oracle of 0.3b and baseline of 5.0b

bsearch109.0ms

Steps
ItersRangePoint
9
2.6709615057091654e+53
1.8725758029205373e+58
5.765663730127239e+55
8
-3.654333056423451e-22
-9.995695124882913e-26
-5.672541625417554e-24

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04127
14327
24327

end0.0ms

sample550.0ms

Algorithm
intervals
Results
327.0ms8351×body80valid