Details

Time bar (total: 3.2s)

sample32.0ms

Algorithm
intervals
Results
13.0ms277×body80valid
4.0ms116×body80nan

simplify12.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0217
1457
2677
3947
41157
51157

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 23.6b

Counts
2 → 1

localize10.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* z z) (* t a))
3.8b
(* (* x y) z)
10.5b
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
24.1b
(sqrt (- (* z z) (* t a)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-div associate-*l* *-commutative associate-/l*
flip3-- flip--
associate-/r/
sub-neg frac-2neg pow1/2 clear-num div-inv
Counts
4 → 19
Calls
4 calls:
4.0ms
(- (* z z) (* t a))
3.0ms
(* (* x y) z)
8.0ms
(/ (* (* x y) z) (sqrt (- (* z z) (* t a))))
4.0ms
(sqrt (- (* z z) (* t a)))

series204.0ms

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

simplify130.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (14.0ms)

IterNodesCost
0150154
1452152
21262150
33689150
45002150

prune110.0ms

Filtered
31 candidates to 27 candidates (87.1%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New22931
Fresh000
Picked101
Done000
Total23932

Merged error: 3.9b

Counts
32 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (sqrt (- (* z z) (* t a))) z)
0.2b
(- (* z z) (* t a))
3.4b
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
24.1b
(sqrt (- (* z z) (* t a)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-div
associate-/r/ div-inv
flip3-- flip-- associate-/l/
frac-2neg clear-num
times-frac *-commutative associate-/l*
sub-neg pow1/2 associate-/r*
Counts
4 → 25
Calls
4 calls:
5.0ms
(/ (sqrt (- (* z z) (* t a))) z)
4.0ms
(- (* z z) (* t a))
7.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
4.0ms
(sqrt (- (* z z) (* t a)))

series250.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(/ (sqrt (- (* z z) (* t a))) z)
33.0ms
(- (* z z) (* t a))
83.0ms
(/ (* x y) (/ (sqrt (- (* z z) (* t a))) z))
62.0ms
(sqrt (- (* z z) (* t a)))

simplify62.0ms

Algorithm
egg-herbie
Counts
37 → 37
Iterations

Useful iterations: 2 (18.0ms)

IterNodesCost
0195217
1585212
22230208
35001208

prune124.0ms

Filtered
37 candidates to 31 candidates (83.8%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New31637
Fresh538
Picked101
Done000
Total37946

Merged error: 3.9b

Counts
46 → 9

localize11.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (* z z) (* t a))
0.2b
(* (sqrt (- (* z z) (* t a))) (/ 1 z))
3.4b
(/ (* x y) (* (sqrt (- (* z z) (* t a))) (/ 1 z)))
24.1b
(sqrt (- (* z z) (* t a)))

rewrite26.0ms

Algorithm
rewrite-expression-head
Rules
18×sqrt-div
13×associate-/r/
12×frac-times
10×flip3-- flip--
clear-num
*-commutative
frac-2neg
times-frac associate-*r/
div-inv
associate-*r* associate-*l/ un-div-inv
associate-/r*
associate-/l*
sub-neg pow1/2
Counts
4 → 49
Calls
4 calls:
4.0ms
(- (* z z) (* t a))
7.0ms
(* (sqrt (- (* z z) (* t a))) (/ 1 z))
9.0ms
(/ (* x y) (* (sqrt (- (* z z) (* t a))) (/ 1 z)))
4.0ms
(sqrt (- (* z z) (* t a)))

series249.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* z z) (* t a))
69.0ms
(* (sqrt (- (* z z) (* t a))) (/ 1 z))
83.0ms
(/ (* x y) (* (sqrt (- (* z z) (* t a))) (/ 1 z)))
61.0ms
(sqrt (- (* z z) (* t a)))

simplify140.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0273437
11051422
24792418
35002418

prune178.0ms

Filtered
61 candidates to 46 candidates (75.4%)
Pruning

9 alts after pruning (8 fresh and 1 done)

PrunedKeptTotal
New59261
Fresh268
Picked011
Done000
Total61970

Merged error: 3.9b

Counts
70 → 9

localize10.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ z (sqrt (- (* z z) (* t a))))
0.2b
(- (* z z) (* t a))
3.2b
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
24.1b
(sqrt (- (* z z) (* t a)))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-div
flip3-- associate-/r/ flip--
associate-*r/ associate-*r* clear-num
frac-2neg associate-*l* *-commutative div-inv
sub-neg pow1/2 un-div-inv
Counts
4 → 22
Calls
4 calls:
5.0ms
(/ z (sqrt (- (* z z) (* t a))))
4.0ms
(- (* z z) (* t a))
8.0ms
(* (* x y) (/ z (sqrt (- (* z z) (* t a)))))
4.0ms
(sqrt (- (* z z) (* t a)))

series226.0ms

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

simplify57.0ms

Algorithm
egg-herbie
Counts
34 → 34
Iterations

Useful iterations: 2 (17.0ms)

IterNodesCost
0154157
1539155
21982153
35001153

prune92.0ms

Filtered
34 candidates to 28 candidates (82.4%)
Pruning

10 alts after pruning (8 fresh and 2 done)

PrunedKeptTotal
New31334
Fresh257
Picked011
Done011
Total331043

Merged error: 3.9b

Counts
43 → 10

regimes304.0ms

Accuracy

84.3% (3.0b remaining)

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

bsearch92.0ms

Steps
ItersRangePoint
8
6.3736077767258876e+97
2.771218538638004e+101
3.0412120532343217e+100
10
-4.092990931352707e+163
-1.865346764731705e+152
-8.062579297869621e+153

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02911
13611
24711
34711

end0.0ms

sample787.0ms

Algorithm
intervals
Results
334.0ms8834×body80valid
105.0ms2807×body80nan