Details

Time bar (total: 3.7s)

sample36.0ms

Algorithm
intervals
Results
19.0ms515×body80valid

simplify75.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0196
1506
21596
33516
46096
57336
610686
713426
815066
915536
1015536

prune2.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: 6.3b

Counts
2 → 1

localize11.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* x x) (* (* y 4.0) (- (* z z) t)))
5.9b
(* (* y 4.0) (- (* z z) t))

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
sub-neg
distribute-rgt-in add-sqr-sqrt distribute-lft-in associate-*r* associate--r+ add-log-exp
add-cube-cbrt *-un-lft-identity pow-prod-down prod-exp cbrt-unprod
flip3-- associate-*r/ flip--
diff-log associate-*l* *-commutative difference-of-squares
Counts
2 → 41
Calls
2 calls:
4.0ms
(- (* x x) (* (* y 4.0) (- (* z z) t)))
8.0ms
(* (* y 4.0) (- (* z z) t))

series132.0ms

Counts
2 → 6
Calls
2 calls:
74.0ms
(- (* x x) (* (* y 4.0) (- (* z z) t)))
58.0ms
(* (* y 4.0) (- (* z z) t))

simplify40.0ms

Algorithm
egg-herbie
Counts
47 → 47
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0269322
11276286
25001281

prune87.0ms

Filtered
47 candidates to 29 candidates (61.7%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New42547
Fresh000
Picked011
Done000
Total42648

Merged error: 2.2b

Counts
48 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

1.5b
(sqrt (- (* x x) (* (* y 4.0) (- (* z z) t))))
1.5b
(sqrt (- (* x x) (* (* y 4.0) (- (* z z) t))))
5.9b
(* (* y 4.0) (- (* z z) t))
5.9b
(* (* y 4.0) (- (* z z) t))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×pow1
14×add-exp-log add-cbrt-cube
12×add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*r*
pow-prod-down prod-exp sqrt-prod cbrt-unprod
distribute-rgt-in sub-neg flip3-- distribute-lft-in sqrt-div associate-*r/ flip-- add-log-exp
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l* *-commutative difference-of-squares
Counts
4 → 80
Calls
4 calls:
3.0ms
(sqrt (- (* x x) (* (* y 4.0) (- (* z z) t))))
3.0ms
(sqrt (- (* x x) (* (* y 4.0) (- (* z z) t))))
8.0ms
(* (* y 4.0) (- (* z z) t))
8.0ms
(* (* y 4.0) (- (* z z) t))

series391.0ms

Counts
4 → 12
Calls
4 calls:
135.0ms
(sqrt (- (* x x) (* (* y 4.0) (- (* z z) t))))
130.0ms
(sqrt (- (* x x) (* (* y 4.0) (- (* z z) t))))
63.0ms
(* (* y 4.0) (- (* z z) t))
62.0ms
(* (* y 4.0) (- (* z z) t))

simplify45.0ms

Algorithm
egg-herbie
Counts
92 → 92
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0270654
11170602
25002598

prune213.0ms

Filtered
92 candidates to 62 candidates (67.4%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New92092
Fresh044
Picked011
Done011
Total92698

Merged error: 2.2b

Counts
98 → 6

localize11.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (* y 4.0) (sqrt (- (* z z) t)))
0.2b
(* (* (* y 4.0) (sqrt (- (* z z) t))) (sqrt (- (* z z) t)))
5.9b
(sqrt (- (* z z) t))
5.9b
(sqrt (- (* z z) t))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
20×pow1
18×add-exp-log sqrt-div add-cbrt-cube
16×add-sqr-sqrt sqrt-prod
14×associate-*r*
10×add-cube-cbrt *-un-lft-identity associate-*r/
flip3-- pow-prod-down prod-exp flip-- cbrt-unprod
frac-times add-log-exp difference-of-squares
rem-sqrt-square sqrt-pow1 pow1/2 associate-*l* associate-*l/ *-commutative
Counts
4 → 89
Calls
4 calls:
9.0ms
(* (* y 4.0) (sqrt (- (* z z) t)))
15.0ms
(* (* (* y 4.0) (sqrt (- (* z z) t))) (sqrt (- (* z z) t)))
4.0ms
(sqrt (- (* z z) t))
4.0ms
(sqrt (- (* z z) t))

series230.0ms

Counts
4 → 12
Calls
4 calls:
71.0ms
(* (* y 4.0) (sqrt (- (* z z) t)))
65.0ms
(* (* (* y 4.0) (sqrt (- (* z z) t))) (sqrt (- (* z z) t)))
45.0ms
(sqrt (- (* z z) t))
49.0ms
(sqrt (- (* z z) t))

simplify55.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
0372769
11759649
25001641

prune227.0ms

Filtered
101 candidates to 69 candidates (68.3%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1001101
Fresh033
Picked011
Done022
Total1007107

Merged error: 2.2b

Counts
107 → 7

localize14.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (sqrt (sqrt (- (* z z) t))) (sqrt (sqrt (- (* z z) t))))
5.9b
(sqrt (- (* z z) t))
5.9b
(sqrt (- (* z z) t))
5.9b
(sqrt (- (* z z) t))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
86×sqrt-prod
59×add-sqr-sqrt
35×sqrt-pow1
30×pow1 sqrt-div
19×add-cube-cbrt *-un-lft-identity pow1/2
16×swap-sqr
10×associate-*r* associate-*l*
flip3-- pow-prod-up flip-- unswap-sqr
difference-of-squares
add-exp-log add-cbrt-cube
pow-prod-down pow-sqr
frac-times add-log-exp
rem-sqrt-square
associate-*r/ associate-*l/
pow2 pow-plus sqrt-unprod prod-exp rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 134
Calls
4 calls:
17.0ms
(* (sqrt (sqrt (- (* z z) t))) (sqrt (sqrt (- (* z z) t))))
4.0ms
(sqrt (- (* z z) t))
4.0ms
(sqrt (- (* z z) t))
4.0ms
(sqrt (- (* z z) t))

series194.0ms

Counts
4 → 12
Calls
4 calls:
45.0ms
(* (sqrt (sqrt (- (* z z) t))) (sqrt (sqrt (- (* z z) t))))
51.0ms
(sqrt (- (* z z) t))
45.0ms
(sqrt (- (* z z) t))
53.0ms
(sqrt (- (* z z) t))

simplify55.0ms

Algorithm
egg-herbie
Counts
146 → 146
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
0246896
1916830
25001810

prune319.0ms

Filtered
146 candidates to 84 candidates (57.5%)
Pruning

7 alts after pruning (3 fresh and 4 done)

PrunedKeptTotal
New1460146
Fresh033
Picked011
Done033
Total1467153

Merged error: 2.2b

Counts
153 → 7

regimes467.0ms

Accuracy

80.7% (0.6b remaining)

Error of 3.5b against oracle of 2.8b and baseline of 6.1b

bsearch1.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02516
12516

end0.0ms

sample1.0s

Algorithm
intervals
Results
622.0ms15853×body80valid

Profiling

Loading profile data...