Details

Time bar (total: 4.9s)

sample32.0ms

Algorithm
intervals
Results
21.0ms270×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.8b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite81.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:
6.0ms
(- (* y z) x)
56.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
3.0ms
(- (* t z) x)
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series242.0ms

Counts
4 → 12
Calls
4 calls:
21.0ms
(- (* y z) x)
133.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
25.0ms
(- (* t z) x)
62.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify63.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
04621042
12015941
25001941

prune320.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (- (* t z) x)) (+ x 1.0))
2.0b
(fma (/ y (- (* t z) x)) z x)
3.1b
(/ x (- (* t z) x))
3.5b
(/ y (- (* t z) x))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
103×*-un-lft-identity
71×add-sqr-sqrt add-cube-cbrt
21×associate-/l*
16×associate-/r/ distribute-lft-out
13×add-exp-log add-cbrt-cube
10×associate-/r*
div-inv
flip3-- flip--
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
flip3-+ flip-+ fma-udef associate-/l/
Counts
4 → 170
Calls
4 calls:
15.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
0.0ms
(fma (/ y (- (* t z) x)) z x)
8.0ms
(/ x (- (* t z) x))
5.0ms
(/ y (- (* t z) x))

series264.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
59.0ms
(fma (/ y (- (* t z) x)) z x)
66.0ms
(/ x (- (* t z) x))
30.0ms
(/ y (- (* t z) x))

simplify68.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
05821552
122871475
250021475

prune583.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (- (* t z) x)) (+ x 1.0))
3.1b
(/ x (- (* t z) x))
3.5b
(/ y (- (* t z) x))
8.0b
(* (/ y (- (* t z) x)) z)

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
133×times-frac
111×*-un-lft-identity
84×add-sqr-sqrt
79×add-cube-cbrt
21×associate-/l*
18×add-exp-log associate-/r/ add-cbrt-cube
16×distribute-lft-out
15×associate-*l*
10×associate-/r*
div-inv
flip3-- flip--
pow1 cbrt-undiv div-exp
expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg associate-*r* clear-num
prod-exp cbrt-unprod unswap-sqr
flip3-+ pow-prod-down associate-*l/ *-commutative flip-+ associate-/l/
Counts
4 → 196
Calls
4 calls:
16.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
6.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))
19.0ms
(* (/ y (- (* t z) x)) z)

series240.0ms

Counts
4 → 12
Calls
4 calls:
103.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
62.0ms
(/ x (- (* t z) x))
36.0ms
(/ y (- (* t z) x))
39.0ms
(* (/ y (- (* t z) x)) z)

simplify76.0ms

Algorithm
egg-herbie
Counts
208 → 208
Iterations

Useful iterations: 1 (18.0ms)

IterNodesCost
06481693
125281600
250011600

prune636.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

2.4b
(* (* (/ y (- (* t z) x)) (* (cbrt z) (cbrt z))) (cbrt z))
3.1b
(/ x (- (* t z) x))
3.5b
(/ y (- (* t z) x))
5.7b
(* (/ y (- (* t z) x)) (* (cbrt z) (cbrt z)))

rewrite93.0ms

Algorithm
rewrite-expression-head
Rules
38×add-exp-log
32×add-sqr-sqrt
29×add-cube-cbrt *-un-lft-identity
28×times-frac
25×add-cbrt-cube
18×pow1
17×prod-exp cbrt-unprod
16×associate-*l*
pow-prod-down
associate-*r*
cbrt-undiv div-exp associate-/r* associate-/r/ associate-/l*
expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-prod flip3-- associate-*l/ flip-- div-inv
frac-2neg clear-num *-commutative unswap-sqr
Counts
4 → 132
Calls
4 calls:
50.0ms
(* (* (/ y (- (* t z) x)) (* (cbrt z) (cbrt z))) (cbrt z))
5.0ms
(/ x (- (* t z) x))
5.0ms
(/ y (- (* t z) x))
26.0ms
(* (/ y (- (* t z) x)) (* (cbrt z) (cbrt z)))

series329.0ms

Counts
4 → 12
Calls
4 calls:
68.0ms
(* (* (/ y (- (* t z) x)) (* (cbrt z) (cbrt z))) (cbrt z))
67.0ms
(/ x (- (* t z) x))
32.0ms
(/ y (- (* t z) x))
161.0ms
(* (/ y (- (* t z) x)) (* (cbrt z) (cbrt z)))

simplify64.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04651125
11911927
25001884

prune448.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

regimes162.0ms

Accuracy

13.4% (3.9b remaining)

Error of 4.3b against oracle of 0.3b and baseline of 4.9b

bsearch114.0ms

Steps
ItersRangePoint
8
1.0262864414102929e-120
7.426809564524263e-118
3.9751503704831254e-120
6
-3.5199502361004946e-305
-3.117048759428799e-306
-2.0700452410626824e-305

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
05446
15646
25646

end0.0ms

sample901.0ms

Algorithm
intervals
Results
678.0ms8364×body80valid