Details

Time bar (total: 5.7s)

sample55.0ms

Algorithm
intervals
Results
35.0ms643×body80valid

simplify92.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 (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.2b

Counts
2 → 1

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-*r/
17×pow1 add-exp-log
16×add-cbrt-cube
14×add-sqr-sqrt
12×*-un-lft-identity
10×add-cube-cbrt associate-*r*
pow-prod-down prod-exp cbrt-unprod
associate-*l*
distribute-rgt-in distribute-lft-in flip3-+ frac-add flip-+ add-log-exp
unpow-prod-down pow-unpow flip3-- *-commutative flip-- unswap-sqr
sub-neg
pow-to-exp pow-pow pow-exp distribute-lft-out sqr-pow
Counts
4 → 92
Calls
4 calls:
14.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
7.0ms
(* (* a a) (+ 1.0 a))
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)

series268.0ms

Counts
4 → 12
Calls
4 calls:
64.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
51.0ms
(* (* a a) (+ 1.0 a))
49.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
104.0ms
(pow (+ (* a a) (* b b)) 2.0)

simplify103.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
0658794
13720707
25001707

prune306.0ms

Filtered
104 candidates to 69 candidates (66.3%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New986104
Fresh000
Picked101
Done000
Total996105

Merged error: 0.1b

Counts
105 → 6

localize21.0ms

Local error

Found 4 expressions with local error:

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

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
31×add-sqr-sqrt
20×cbrt-prod
19×pow1
18×add-cube-cbrt *-un-lft-identity
16×associate-*r/
14×add-exp-log
13×associate-*l*
12×associate-*r*
10×add-cbrt-cube
unswap-sqr
pow1/3 swap-sqr pow-prod-down
prod-exp cbrt-unprod
frac-add add-log-exp
distribute-rgt-in unpow-prod-down pow-unpow flip3-- distribute-lft-in flip3-+ *-commutative flip-- flip-+
sub-neg pow-sqr pow-prod-up
pow2 pow-to-exp pow-pow pow-plus pow-exp sqr-pow
Counts
4 → 112
Calls
4 calls:
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
13.0ms
(* (cbrt 4.0) (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)
6.0ms
(* (cbrt 4.0) (cbrt 4.0))

series268.0ms

Counts
4 → 10
Calls
4 calls:
53.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
107.0ms
(* (cbrt 4.0) (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
107.0ms
(pow (+ (* a a) (* b b)) 2.0)
0.0ms
(* (cbrt 4.0) (cbrt 4.0))

simplify105.0ms

Algorithm
egg-herbie
Counts
122 → 122
Iterations

Useful iterations: 2 (94.0ms)

IterNodesCost
0643966
13619893
25002864

prune402.0ms

Filtered
122 candidates to 80 candidates (65.6%)
Pruning

6 alts after pruning (5 fresh and 1 done)

PrunedKeptTotal
New1193122
Fresh325
Picked011
Done000
Total1226128

Merged error: 0.1b

Counts
128 → 6

localize29.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (cbrt 4.0) (cbrt 4.0))
17.4b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
17.4b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
17.4b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
37×cbrt-prod
26×add-sqr-sqrt
18×add-cube-cbrt *-un-lft-identity
11×pow1
unpow-prod-down pow1/3
add-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
sqr-pow
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 85
Calls
4 calls:
6.0ms
(* (cbrt 4.0) (cbrt 4.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series459.0ms

Counts
4 → 10
Calls
4 calls:
0.0ms
(* (cbrt 4.0) (cbrt 4.0))
154.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
147.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
157.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify77.0ms

Algorithm
egg-herbie
Counts
95 → 95
Iterations

Useful iterations: 3 (68.0ms)

IterNodesCost
0169663
1539616
22491590
35001587

prune407.0ms

Filtered
95 candidates to 68 candidates (71.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New92395
Fresh134
Picked011
Done011
Total938101

Merged error: 0.0b

Counts
101 → 8

localize30.0ms

Local error

Found 4 expressions with local error:

10.8b
(sqrt (pow (+ (* a a) (* b b)) 2.0))
10.8b
(sqrt (pow (+ (* a a) (* b b)) 2.0))
17.4b
(cbrt (pow (+ (* a a) (* b b)) 2.0))
17.4b
(cbrt (pow (+ (* a a) (* b b)) 2.0))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
14×cbrt-prod unpow-prod-down sqrt-prod
12×add-cube-cbrt *-un-lft-identity
rem-sqrt-square sqr-pow
pow1 add-exp-log add-cbrt-cube add-log-exp
sqrt-pow1 pow1/2 pow1/3
Counts
4 → 68
Calls
4 calls:
4.0ms
(sqrt (pow (+ (* a a) (* b b)) 2.0))
5.0ms
(sqrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
4.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

series601.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(sqrt (pow (+ (* a a) (* b b)) 2.0))
144.0ms
(sqrt (pow (+ (* a a) (* b b)) 2.0))
156.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))
151.0ms
(cbrt (pow (+ (* a a) (* b b)) 2.0))

simplify119.0ms

Algorithm
egg-herbie
Counts
80 → 80
Iterations

Useful iterations: 3 (28.0ms)

IterNodesCost
0140598
1298564
2971560
33919556
45001556

prune476.0ms

Filtered
80 candidates to 68 candidates (85.0%)
Pruning

10 alts after pruning (7 fresh and 3 done)

PrunedKeptTotal
New77380
Fresh145
Picked011
Done022
Total781088

Merged error: 0.0b

Counts
88 → 10

regimes191.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03120
13120

end0.0ms

sample1.5s

Algorithm
intervals
Results
1.2s20683×body80valid