Details

Time bar (total: 4.6s)

sample48.0ms

Algorithm
intervals
Results
21.0ms294×body80valid
10.0ms111×body80nan

simplify11.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0227
1467
2727
3997
41207
51207

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 25.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* z z) (* t a))
4.4b
(* (* x y) z)
11.0b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
24.3b
(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))))
4.0ms
(sqrt (- (* z z) (* t a)))

series214.0ms

Counts
4 → 12
Calls
4 calls:
41.0ms
(- (* z z) (* t a))
29.0ms
(* (* x y) z)
82.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
61.0ms
(sqrt (- (* z z) (* t a)))

simplify52.0ms

Algorithm
egg-herbie
Counts
98 → 98
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0368630
11941560
25001551

prune256.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 3.4b

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ z (sqrt (- (* z z) (* t a))))
0.6b
(- (* z z) (* t a))
2.2b
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
24.3b
(sqrt (- (* z z) (* t a)))

rewrite35.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))
18.0ms
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
4.0ms
(sqrt (- (* z z) (* t a)))

series237.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(/ z (sqrt (- (* z z) (* t a))))
34.0ms
(- (* z z) (* t a))
85.0ms
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
63.0ms
(sqrt (- (* z z) (* t a)))

simplify64.0ms

Algorithm
egg-herbie
Counts
134 → 134
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
04531067
12239963
25001942

prune356.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 3.4b

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* z z) (* t a))
0.7b
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
1.0b
(* y (/ z (sqrt (- (* z z) (* t a)))))
24.3b
(sqrt (- (* z z) (* t a)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
25×associate-*r*
20×add-cube-cbrt *-un-lft-identity times-frac
18×add-exp-log add-cbrt-cube
13×sqrt-prod
12×pow1
prod-exp cbrt-unprod
associate-*l* add-log-exp
expm1-log1p-u sqrt-div pow-prod-down log1p-expm1-u
flip3-- associate-*r/ flip-- unswap-sqr
cbrt-undiv div-exp associate-/r/ *-commutative
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 fma-neg diff-log prod-diff div-inv
Counts
4 → 102
Calls
4 calls:
3.0ms
(- (* z z) (* t a))
19.0ms
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
21.0ms
(* y (/ z (sqrt (- (* z z) (* t a)))))
4.0ms
(sqrt (- (* z z) (* t a)))

series228.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* z z) (* t a))
82.0ms
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
52.0ms
(* y (/ z (sqrt (- (* z z) (* t a)))))
62.0ms
(sqrt (- (* z z) (* t a)))

simplify54.0ms

Algorithm
egg-herbie
Counts
114 → 114
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0425829
11848729
25001717

prune327.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 3.4b

localize12.0ms

Local error

Found 4 expressions with local error:

1.3b
(/ (* x y) (sqrt (sqrt (- (* z z) (* t a)))))
3.8b
(* (/ (* x y) (sqrt (sqrt (- (* z z) (* t a))))) (/ z (sqrt (sqrt (- (* z z) (* t a))))))
24.3b
(sqrt (- (* z z) (* t a)))
24.3b
(sqrt (- (* z z) (* t a)))

rewrite70.0ms

Algorithm
rewrite-expression-head
Rules
63×sqrt-prod
48×add-sqr-sqrt times-frac
35×add-cube-cbrt *-un-lft-identity
33×associate-*r*
30×add-exp-log add-cbrt-cube
16×sqrt-div
15×associate-*l*
cbrt-undiv div-exp prod-exp associate-/r* cbrt-unprod
pow1
associate-/r/
flip3-- flip--
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
div-inv
rem-sqrt-square sqrt-pow1 pow1/2
frac-times frac-2neg associate-*r/ pow-prod-down associate-*l/ clear-num *-commutative associate-/l*
Counts
4 → 149
Calls
4 calls:
8.0ms
(/ (* x y) (sqrt (sqrt (- (* z z) (* t a)))))
48.0ms
(* (/ (* x y) (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)))

series303.0ms

Counts
4 → 12
Calls
4 calls:
96.0ms
(/ (* x y) (sqrt (sqrt (- (* z z) (* t a)))))
86.0ms
(* (/ (* x y) (sqrt (sqrt (- (* z z) (* t a))))) (/ z (sqrt (sqrt (- (* z z) (* t a))))))
58.0ms
(sqrt (- (* z z) (* t a)))
63.0ms
(sqrt (- (* z z) (* t a)))

simplify85.0ms

Algorithm
egg-herbie
Counts
161 → 161
Iterations

Useful iterations: 2 (69.0ms)

IterNodesCost
06432017
134081804
250011678

prune453.0ms

Pruning

9 alts after pruning (6 fresh and 3 done)

Merged error: 3.4b

regimes358.0ms

Accuracy

86.2% (2.6b remaining)

Error of 6.3b against oracle of 3.6b and baseline of 22.7b

bsearch114.0ms

Steps
ItersRangePoint
9
2.0864676433609674e+119
1.1678228820445103e+126
5.324503325682955e+121
10
-5.301064106295175e+157
-2.1363922009711632e+141
-3.6721891600828564e+151

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03211
14811
24811

end0.0ms

sample1.2s

Algorithm
intervals
Results
661.0ms8835×body80valid
203.0ms2909×body80nan