Details

Time bar (total: 4.1s)

sample30.0ms

Algorithm
intervals
Results
11.0ms280×body80valid
3.0ms97×body80nan

simplify13.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1457
2677
3947
41157
51157

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 23.8b

localize11.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* z z) (* t a))
4.2b
(* (* x y) z)
8.1b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
22.2b
(sqrt (- (* z z) (* t a)))

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

series201.0ms

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

simplify55.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
0346584
11863515
25002510

prune232.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 2.3b

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ z (sqrt (- (* z z) (* t a))))
0.6b
(- (* z z) (* t a))
2.9b
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
22.2b
(sqrt (- (* z z) (* t a)))

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

series220.0ms

Counts
4 → 12
Calls
4 calls:
48.0ms
(/ z (sqrt (- (* z z) (* t a))))
31.0ms
(- (* z z) (* t a))
79.0ms
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
62.0ms
(sqrt (- (* z z) (* t a)))

simplify60.0ms

Algorithm
egg-herbie
Counts
124 → 124
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04311016
12160912
25001893

prune301.0ms

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 1.8b

localize13.0ms

Local error

Found 4 expressions with local error:

0.6b
(- (* z z) (* t a))
1.4b
(* y (/ z (sqrt (- (* z z) (* t a)))))
2.5b
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
22.2b
(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))
11.0ms
(* y (/ z (sqrt (- (* z z) (* t a)))))
10.0ms
(* x (* y (/ z (sqrt (- (* z z) (* t a))))))
4.0ms
(sqrt (- (* z z) (* t a)))

series228.0ms

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

simplify51.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0403775
11781676
25001667

prune241.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 1.8b

localize18.0ms

Local error

Found 4 expressions with local error:

0.7b
(* (* y (/ (* (cbrt z) (cbrt z)) (sqrt (sqrt (- (* z z) (* t a)))))) (/ (cbrt z) (sqrt (sqrt (- (* z z) (* t a))))))
2.5b
(* x (* (* y (/ (* (cbrt z) (cbrt z)) (sqrt (sqrt (- (* z z) (* t a)))))) (/ (cbrt z) (sqrt (sqrt (- (* z z) (* t a)))))))
22.2b
(sqrt (- (* z z) (* t a)))
22.2b
(sqrt (- (* z z) (* t a)))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
78×add-exp-log
62×add-cbrt-cube
61×associate-*r*
60×sqrt-prod
54×times-frac
46×add-sqr-sqrt
44×add-cube-cbrt *-un-lft-identity
41×prod-exp cbrt-unprod
27×cbrt-prod
20×pow1
16×cbrt-undiv div-exp
associate-*r/ pow-prod-down
sqrt-div
associate-*l* add-log-exp
flip3-- flip--
frac-times rem-sqrt-square sqrt-pow1 pow1/2 associate-*l/ associate-/r/ *-commutative
div-inv
Counts
4 → 156
Calls
4 calls:
29.0ms
(* (* y (/ (* (cbrt z) (cbrt z)) (sqrt (sqrt (- (* z z) (* t a)))))) (/ (cbrt z) (sqrt (sqrt (- (* z z) (* t a))))))
26.0ms
(* x (* (* y (/ (* (cbrt z) (cbrt z)) (sqrt (sqrt (- (* z z) (* t a)))))) (/ (cbrt z) (sqrt (sqrt (- (* z z) (* t a)))))))
4.0ms
(sqrt (- (* z z) (* t a)))
6.0ms
(sqrt (- (* z z) (* t a)))

series312.0ms

Counts
4 → 12
Calls
4 calls:
80.0ms
(* (* y (/ (* (cbrt z) (cbrt z)) (sqrt (sqrt (- (* z z) (* t a)))))) (/ (cbrt z) (sqrt (sqrt (- (* z z) (* t a))))))
107.0ms
(* x (* (* y (/ (* (cbrt z) (cbrt z)) (sqrt (sqrt (- (* z z) (* t a)))))) (/ (cbrt z) (sqrt (sqrt (- (* z z) (* t a)))))))
63.0ms
(sqrt (- (* z z) (* t a)))
62.0ms
(sqrt (- (* z z) (* t a)))

simplify143.0ms

Algorithm
egg-herbie
Counts
168 → 168
Iterations

Useful iterations: 2 (121.0ms)

IterNodesCost
08333164
147672602
250012550

prune495.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 1.8b

regimes445.0ms

Accuracy

80.1% (3.9b remaining)

Error of 7.3b against oracle of 3.4b and baseline of 23.0b

bsearch103.0ms

Steps
ItersRangePoint
10
5.865088562177004e+136
3.2532963586704995e+147
6.27117431119542e+136
10
-2.8752459029099972e+78
-3.342866317005328e+63
-6.705006932778813e+76

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03411
13511
23811
33811

end0.0ms

sample776.0ms

Algorithm
intervals
Results
336.0ms8797×body80valid
104.0ms2959×body80nan