Details

Time bar (total: 3.8s)

sample46.0ms

Algorithm
intervals
Results
14.0ms298×body80valid
4.0ms87×body80nan

simplify32.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (30.0ms)

IterNodesCost
080514
180514

prune14.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.2b

Counts
2 → 2

localize10.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* z z) (* t a))
1.0b
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
1.8b
(* y (/ z (sqrt (- (* z z) (* t a)))))
26.3b
(sqrt (- (* z z) (* t a)))

rewrite33.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
sqrt-div pow-prod-down
flip3-- associate-*r/ flip-- unswap-sqr
cbrt-undiv div-exp associate-/r/ *-commutative
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log div-inv
Counts
4 → 92
Calls
4 calls:
4.0ms
(- (* z z) (* t a))
10.0ms
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
12.0ms
(* y (/ z (sqrt (- (* z z) (* t a)))))
4.0ms
(sqrt (- (* z z) (* t a)))

series72.0ms

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

simplify49.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (40.0ms)

IterNodesCost
049731242
149731242

prune166.0ms

Filtered
74 candidates to 104 candidates (-40.5%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New959104
Fresh011
Picked101
Done000
Total9610106

Merged error: 3.8b

Counts
106 → 10

localize13.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (/ z (sqrt (- (* z z) (* t a)))) x)
0.6b
(- (* z z) (* t a))
2.6b
(* y (* (/ z (sqrt (- (* z z) (* t a)))) x))
26.3b
(sqrt (- (* z z) (* t a)))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
29×add-sqr-sqrt
27×associate-*l*
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
add-log-exp
sqrt-div associate-*r* pow-prod-down
flip3-- flip-- unswap-sqr
cbrt-undiv div-exp associate-*l/ associate-/r/ *-commutative
sub-neg rem-sqrt-square sqrt-pow1 pow1/2 diff-log associate-*r/ div-inv
Counts
4 → 92
Calls
4 calls:
12.0ms
(* (/ z (sqrt (- (* z z) (* t a)))) x)
4.0ms
(- (* z z) (* t a))
12.0ms
(* y (* (/ z (sqrt (- (* z z) (* t a)))) x))
5.0ms
(sqrt (- (* z z) (* t a)))

series70.0ms

Counts
4 → 12
Calls
4 calls:
19.0ms
(* (/ z (sqrt (- (* z z) (* t a)))) x)
7.0ms
(- (* z z) (* t a))
30.0ms
(* y (* (/ z (sqrt (- (* z z) (* t a)))) x))
14.0ms
(sqrt (- (* z z) (* t a)))

simplify38.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
055051274

prune152.0ms

Filtered
74 candidates to 104 candidates (-40.5%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1031104
Fresh189
Picked011
Done000
Total10410114

Merged error: 3.8b

Counts
114 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* z z) (* t a))
1.0b
(* x (/ (* z y) (sqrt (- (* z z) (* t a)))))
10.5b
(/ (* z y) (sqrt (- (* z z) (* t a))))
26.3b
(sqrt (- (* z z) (* t a)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
18×add-exp-log add-cbrt-cube
16×add-sqr-sqrt
13×add-cube-cbrt *-un-lft-identity
12×times-frac associate-*r* sqrt-prod
pow1
sqrt-div associate-/r* add-log-exp
prod-exp cbrt-unprod
cbrt-undiv flip3-- div-exp associate-/r/ flip--
associate-*l*
div-inv
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log associate-*r/ pow-prod-down clear-num *-commutative associate-/l* unswap-sqr
Counts
4 → 88
Calls
4 calls:
4.0ms
(- (* z z) (* t a))
11.0ms
(* x (/ (* z y) (sqrt (- (* z z) (* t a)))))
8.0ms
(/ (* z y) (sqrt (- (* z z) (* t a))))
7.0ms
(sqrt (- (* z z) (* t a)))

series65.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 0 (33.0ms)

IterNodesCost
052891237

prune132.0ms

Filtered
72 candidates to 100 candidates (-38.9%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New973100
Fresh178
Picked101
Done011
Total9911110

Merged error: 3.8b

Counts
110 → 11

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ y (sqrt (- (* z z) (* t a))))
0.6b
(- (* z z) (* t a))
13.3b
(* (* z x) (/ y (sqrt (- (* z z) (* t a)))))
26.3b
(sqrt (- (* z z) (* t a)))

rewrite33.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
flip3-- associate-/r/ flip--
cbrt-undiv div-exp pow-prod-down associate-/l*
div-inv
sub-neg rem-sqrt-square frac-2neg sqrt-pow1 pow1/2 diff-log associate-*r/ associate-*l* clear-num *-commutative
Counts
4 → 112
Calls
4 calls:
6.0ms
(/ y (sqrt (- (* z z) (* t a))))
4.0ms
(- (* z z) (* t a))
12.0ms
(* (* z x) (/ y (sqrt (- (* z z) (* t a)))))
4.0ms
(sqrt (- (* z z) (* t a)))

series61.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 0 (44.0ms)

IterNodesCost
052341649

prune103.0ms

Filtered
84 candidates to 124 candidates (-47.6%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New1240124
Fresh099
Picked011
Done011
Total12411135

Merged error: 3.8b

Counts
135 → 11

regimes1.3s

Accuracy

85.4% (2.9b remaining)

Error of 6.1b against oracle of 3.1b and baseline of 23.2b

bsearch55.0ms

Steps
ItersRangePoint
10
6.414549141358339e+98
5.142124371694197e+109
4.3109041619914876e+103
5
-2.39928677073802e+147
-6.251011032396818e+146
-2.2541827298019483e+147

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
07952
17952

end0.0ms

sample1.2s

Algorithm
intervals
Results
430.0ms8908×body80valid
130.0ms2977×body80nan

Profiling

Loading profile data...