Details

Time bar (total: 5.6s)

sample56.0ms

Algorithm
intervals
Results
37.0ms668×body80valid

simplify108.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
05315
116115
245915
3132315
4299215
5500115

prune3.0ms

Filtered
1 candidates to 0 candidates (100.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
0.1b
(* (* a a) (+ 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.4b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite173.0ms

Algorithm
rewrite-expression-head
Rules
47×add-sqr-sqrt
42×associate-*l*
40×*-un-lft-identity
28×associate-+r+
22×distribute-rgt-in distribute-lft-in
18×add-cube-cbrt
17×associate-*r*
15×pow1 add-exp-log unswap-sqr
14×add-cbrt-cube
10×swap-sqr
+-commutative
unpow-prod-down associate-+l+ distribute-lft-out
sub-neg pow-prod-down prod-exp *-commutative cbrt-unprod add-log-exp
associate-*r/
pow-unpow
flip3-+ flip-+ distribute-lft-out-- difference-of-squares
pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- sqr-pow
Counts
4 → 146
Calls
4 calls:
124.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
12.0ms
(* (* a a) (+ 1.0 a))
17.0ms
(pow (+ (* a a) (* b b)) 2.0)
16.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series322.0ms

Counts
4 → 12
Calls
4 calls:
113.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
48.0ms
(* (* a a) (+ 1.0 a))
109.0ms
(pow (+ (* a a) (* b b)) 2.0)
52.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify100.0ms

Algorithm
egg-herbie
Counts
158 → 158
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
07141113
133931031
250011031

prune333.0ms

Filtered
158 candidates to 100 candidates (36.7%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New1517158
Fresh000
Picked101
Done000
Total1527159

Merged error: 0b

Counts
159 → 7

localize21.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* b b) (- 1.0 (* 3.0 a)))
22.9b
(cbrt (* (* a a) (+ 1.0 a)))
22.9b
(cbrt (* (* a a) (+ 1.0 a)))
22.9b
(cbrt (* (* a a) (+ 1.0 a)))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
87×cbrt-prod
84×add-sqr-sqrt
73×associate-*l*
41×*-un-lft-identity
31×add-cube-cbrt associate-*r*
29×unswap-sqr
16×swap-sqr
12×*-commutative
pow1 add-exp-log add-cbrt-cube
associate-*r/
cbrt-div
add-log-exp
flip3-+ pow1/3 pow-prod-down prod-exp cbrt-unprod flip-+ distribute-lft-out
distribute-rgt-in sub-neg distribute-lft-in distribute-lft-out-- difference-of-squares
flip3-- flip--
Counts
4 → 164
Calls
4 calls:
16.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
15.0ms
(cbrt (* (* a a) (+ 1.0 a)))
12.0ms
(cbrt (* (* a a) (+ 1.0 a)))
12.0ms
(cbrt (* (* a a) (+ 1.0 a)))

series347.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
100.0ms
(cbrt (* (* a a) (+ 1.0 a)))
98.0ms
(cbrt (* (* a a) (+ 1.0 a)))
97.0ms
(cbrt (* (* a a) (+ 1.0 a)))

simplify83.0ms

Algorithm
egg-herbie
Counts
176 → 176
Iterations

Useful iterations: 2 (66.0ms)

IterNodesCost
05431333
124301246
250021222

prune521.0ms

Filtered
176 candidates to 113 candidates (35.8%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New1760176
Fresh066
Picked011
Done000
Total1767183

Merged error: 0b

Counts
183 → 7

localize21.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (* b b) (- 1.0 (* 3.0 a)))
19.3b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.3b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
19.3b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite75.0ms

Algorithm
rewrite-expression-head
Rules
56×*-un-lft-identity
36×cbrt-prod
33×add-sqr-sqrt
31×associate-*l*
24×unpow-prod-down
16×add-cube-cbrt
15×distribute-lft-out
10×swap-sqr associate-*r*
pow1 add-exp-log add-cbrt-cube
unswap-sqr
add-log-exp
pow1/3 pow-prod-down prod-exp *-commutative cbrt-unprod sqr-pow
distribute-rgt-in sub-neg distribute-lft-in associate-*r/ distribute-lft-out-- difference-of-squares
flip3-- flip--
Counts
4 → 107
Calls
4 calls:
16.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
18.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
17.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
21.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series517.0ms

Counts
4 → 12
Calls
4 calls:
52.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
155.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
156.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
154.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify56.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0331847
11394781
25001754

prune318.0ms

Filtered
119 candidates to 74 candidates (37.8%)
Pruning

7 alts after pruning (5 fresh and 2 done)

PrunedKeptTotal
New1190119
Fresh055
Picked011
Done011
Total1197126

Merged error: 0b

Counts
126 → 7

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.4b
(* (* b b) (- 1.0 (* 3.0 a)))
3.7b
(exp (log (pow (+ (* a a) (* b b)) 2.0)))
21.6b
(log (pow (+ (* a a) (* b b)) 2.0))

rewrite77.0ms

Algorithm
rewrite-expression-head
Rules
59×*-un-lft-identity
36×add-sqr-sqrt
31×associate-*l*
24×unpow-prod-down log-prod
19×add-cube-cbrt
15×distribute-lft-out
14×pow1
12×add-exp-log exp-sum log-pow
10×swap-sqr associate-*r*
pow-unpow exp-prod add-cbrt-cube
unswap-sqr
add-log-exp
pow-pow rem-log-exp pow-prod-down prod-exp *-commutative cbrt-unprod sqr-pow
distribute-rgt-in pow-to-exp sub-neg distribute-lft-in associate-*r/ pow-exp rem-exp-log distribute-lft-out-- difference-of-squares
flip3-- flip--
Counts
4 → 127
Calls
4 calls:
17.0ms
(pow (+ (* a a) (* b b)) 2.0)
18.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
20.0ms
(exp (log (pow (+ (* a a) (* b b)) 2.0)))
18.0ms
(log (pow (+ (* a a) (* b b)) 2.0))

series371.0ms

Counts
4 → 12
Calls
4 calls:
106.0ms
(pow (+ (* a a) (* b b)) 2.0)
56.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
105.0ms
(exp (log (pow (+ (* a a) (* b b)) 2.0)))
104.0ms
(log (pow (+ (* a a) (* b b)) 2.0))

simplify58.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0413813
11807747
25002735

prune292.0ms

Filtered
139 candidates to 76 candidates (45.3%)
Pruning

7 alts after pruning (4 fresh and 3 done)

PrunedKeptTotal
New1390139
Fresh044
Picked011
Done022
Total1397146

Merged error: 0b

Counts
146 → 7

regimes146.0ms

Accuracy

0% (0.2b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 0.2b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03126
13126

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.1s20764×body80valid