Details

Time bar (total: 6.9s)

sample48.0ms

Algorithm
intervals
Results
22.0ms284×body80valid
6.0ms95×body80nan

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0227
1467
2727
3997
41207
51207

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 24.5b

localize11.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* z z) (* t a))
6.7b
(* (* x y) z)
8.2b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
26.1b
(sqrt (- (* z z) (* t a)))

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
11×add-sqr-sqrt
10×pow1 add-cube-cbrt *-un-lft-identity
sqrt-prod
times-frac prod-exp associate-/r* cbrt-unprod add-log-exp
expm1-log1p-u sqrt-div log1p-expm1-u
cbrt-undiv flip3-- div-exp associate-*r* pow-prod-down flip--
associate-/r/
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log associate-*l* prod-diff clear-num *-commutative div-inv associate-/l*
Counts
4 → 86
Calls
4 calls:
3.0ms
(- (* z z) (* t a))
6.0ms
(* (* x y) z)
11.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
5.0ms
(sqrt (- (* z z) (* t a)))

series66.0ms

Counts
4 → 12
Calls
4 calls:
8.0ms
(- (* z z) (* t a))
7.0ms
(* (* x y) z)
36.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
15.0ms
(sqrt (- (* z z) (* t a)))

simplify59.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0368630
11941560
25001551

prune811.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 4.7b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ z (sqrt (- (* z z) (* t a))))
0.4b
(- (* z z) (* t a))
3.5b
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
26.1b
(sqrt (- (* z z) (* t a)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
34×add-sqr-sqrt
33×add-cube-cbrt *-un-lft-identity
24×associate-*r* sqrt-prod
18×add-exp-log add-cbrt-cube
10×pow1
sqrt-div prod-exp associate-/r* cbrt-unprod add-log-exp
expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u
cbrt-undiv div-exp pow-prod-down associate-/l*
div-inv
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 fma-neg diff-log associate-*r/ associate-*l* prod-diff clear-num *-commutative
Counts
4 → 122
Calls
4 calls:
6.0ms
(/ z (sqrt (- (* z z) (* t a))))
3.0ms
(- (* z z) (* t a))
19.0ms
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
6.0ms
(sqrt (- (* z z) (* t a)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(/ z (sqrt (- (* z z) (* t a))))
9.0ms
(- (* z z) (* t a))
36.0ms
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
13.0ms
(sqrt (- (* z z) (* t a)))

simplify63.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04531067
12239963
25001942

prune1.1s

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 4.7b

localize15.0ms

Local error

Found 4 expressions with local error:

0.4b
(- (* z z) (* t a))
3.5b
(* (* x y) (* (/ 1 (sqrt (sqrt (- (* z z) (* t a))))) (/ z (sqrt (sqrt (- (* z z) (* t a)))))))
26.1b
(sqrt (- (* z z) (* t a)))
26.1b
(sqrt (- (* z z) (* t a)))

rewrite73.0ms

Algorithm
rewrite-expression-head
Rules
77×add-exp-log
45×add-cbrt-cube
43×prod-exp
23×cbrt-unprod
18×pow1
16×div-exp
cbrt-undiv add-sqr-sqrt pow-prod-down
add-cube-cbrt *-un-lft-identity sqrt-prod add-log-exp
expm1-log1p-u rec-exp sqrt-div 1-exp associate-*r/ log1p-expm1-u
flip3-- flip--
rem-sqrt-square sqrt-pow1 pow1/2
frac-times sub-neg fma-neg diff-log associate-*r* associate-*l* prod-diff associate-*l/ *-commutative
Counts
4 → 97
Calls
4 calls:
3.0ms
(- (* z z) (* t a))
57.0ms
(* (* x y) (* (/ 1 (sqrt (sqrt (- (* z z) (* t a))))) (/ z (sqrt (sqrt (- (* z z) (* t a)))))))
4.0ms
(sqrt (- (* z z) (* t a)))
4.0ms
(sqrt (- (* z z) (* t a)))

series73.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(- (* z z) (* t a))
39.0ms
(* (* x y) (* (/ 1 (sqrt (sqrt (- (* z z) (* t a))))) (/ z (sqrt (sqrt (- (* z z) (* t a)))))))
13.0ms
(sqrt (- (* z z) (* t a)))
13.0ms
(sqrt (- (* z z) (* t a)))

simplify62.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 2 (51.0ms)

IterNodesCost
05071327
12360994
25002801

prune953.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 4.7b

localize13.0ms

Local error

Found 4 expressions with local error:

3.0b
(/ (* x (* y (/ z (sqrt (sqrt (- (* z z) (* t a))))))) (sqrt (sqrt (- (* z z) (* t a)))))
3.9b
(* x (* y (/ z (sqrt (sqrt (- (* z z) (* t a)))))))
26.1b
(sqrt (- (* z z) (* t a)))
26.1b
(sqrt (- (* z z) (* t a)))

rewrite67.0ms

Algorithm
rewrite-expression-head
Rules
27×add-exp-log add-cbrt-cube
24×sqrt-prod
15×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
11×pow1
10×prod-exp cbrt-unprod
times-frac associate-/r*
sqrt-div
cbrt-undiv div-exp
expm1-log1p-u associate-*r/ log1p-expm1-u add-log-exp
flip3-- associate-*l* pow-prod-down flip--
rem-sqrt-square sqrt-pow1 pow1/2 associate-/r/
frac-2neg associate-*r* clear-num *-commutative div-inv associate-/l/ associate-/l*
Counts
4 → 99
Calls
4 calls:
30.0ms
(/ (* x (* y (/ z (sqrt (sqrt (- (* z z) (* t a))))))) (sqrt (sqrt (- (* z z) (* t a)))))
24.0ms
(* x (* y (/ z (sqrt (sqrt (- (* z z) (* t a)))))))
6.0ms
(sqrt (- (* z z) (* t a)))
4.0ms
(sqrt (- (* z z) (* t a)))

series113.0ms

Counts
4 → 12
Calls
4 calls:
37.0ms
(/ (* x (* y (/ z (sqrt (sqrt (- (* z z) (* t a))))))) (sqrt (sqrt (- (* z z) (* t a)))))
48.0ms
(* x (* y (/ z (sqrt (sqrt (- (* z z) (* t a)))))))
15.0ms
(sqrt (- (* z z) (* t a)))
14.0ms
(sqrt (- (* z z) (* t a)))

simplify55.0ms

Algorithm
egg-herbie
Counts
111 → 111
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
04291296
119991070
250011068

prune1.0s

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 4.7b

regimes907.0ms

Accuracy

79.8% (4.2b remaining)

Error of 7.6b against oracle of 3.4b and baseline of 24.0b

bsearch67.0ms

Steps
ItersRangePoint
8
1.415354163576236e+117
8.302175042271763e+120
1.507591943378104e+117
8
-335813708160.4535
-59376144.544019125
-329128518468.4069

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03524
14124
24124

end0.0ms

sample1.2s

Algorithm
intervals
Results
631.0ms8874×body80valid
193.0ms2927×body80nan