Details

Time bar (total: 3.8s)

sample70.0ms

Algorithm
intervals
Results
48.0ms639×body80valid

simplify93.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.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.3b

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
(pow (+ (* a a) (* b b)) 2.0)
1.0b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite35.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:
12.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
8.0ms
(* (* a a) (+ 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series53.0ms

Counts
4 → 12
Calls
4 calls:
14.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
6.0ms
(* (* a a) (+ 1.0 a))
25.0ms
(pow (+ (* a a) (* b b)) 2.0)
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify100.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 2 (90.0ms)

IterNodesCost
0694813
13813726
25002722

prune174.0ms

Filtered
104 candidates to 69 candidates (33.7%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New1004104
Fresh000
Picked101
Done000
Total1014105

Merged error: 0.2b

Counts
105 → 4

localize21.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (pow (sqrt (+ (* a a) (* b b))) 2.0) (pow (sqrt (+ (* a a) (* b b))) 2.0))
1.0b
(* (* b b) (- 1.0 (* 3.0 a)))
7.3b
(sqrt (+ (* a a) (* b b)))
7.3b
(sqrt (+ (* a a) (* b b)))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
50×add-sqr-sqrt
44×unpow-prod-down
28×sqrt-prod
21×add-exp-log
19×add-cube-cbrt *-un-lft-identity
17×unswap-sqr
13×associate-*r*
12×swap-sqr prod-exp sqr-pow
11×pow1 associate-*l* add-cbrt-cube
pow-to-exp pow-exp
sqrt-div pow-prod-down cbrt-unprod add-log-exp
distribute-rgt-in sub-neg rem-sqrt-square distribute-lft-in sqrt-pow1 flip3-+ pow1/2 associate-*r/ *-commutative flip-+
pow2 flip3-- pow-sqr pow-prod-up flip--
Counts
4 → 125
Calls
4 calls:
14.0ms
(* (pow (sqrt (+ (* a a) (* b b))) 2.0) (pow (sqrt (+ (* a a) (* b b))) 2.0))
9.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(sqrt (+ (* a a) (* b b)))
4.0ms
(sqrt (+ (* a a) (* b b)))

series56.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* (pow (sqrt (+ (* a a) (* b b))) 2.0) (pow (sqrt (+ (* a a) (* b b))) 2.0))
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
6.0ms
(sqrt (+ (* a a) (* b b)))
6.0ms
(sqrt (+ (* a a) (* b b)))

simplify63.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04311315
119141202
250011180

prune211.0ms

Filtered
137 candidates to 81 candidates (40.9%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New1343137
Fresh303
Picked101
Done000
Total1383141

Merged error: 0.0b

Counts
141 → 3

localize20.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))
1.0b
(* (* b b) (- 1.0 (* 3.0 a)))
7.3b
(sqrt (+ (* a a) (* b b)))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
18×associate-*r/
17×pow1
16×add-exp-log add-cbrt-cube
14×add-sqr-sqrt
11×*-un-lft-identity
10×associate-*r*
add-cube-cbrt
pow-prod-down prod-exp cbrt-unprod
flip3-+ associate-*l* flip-+
distribute-rgt-in distribute-lft-in frac-add add-log-exp
flip3-- sqrt-prod *-commutative flip-- unswap-sqr
sub-neg sqrt-div
rem-sqrt-square sqrt-pow1 pow1/2 distribute-lft-out
Counts
4 → 90
Calls
4 calls:
12.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
8.0ms
(* (* a a) (+ 1.0 a))
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
6.0ms
(sqrt (+ (* a a) (* b b)))

series35.0ms

Counts
4 → 12
Calls
4 calls:
15.0ms
(* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))
6.0ms
(* (* a a) (+ 1.0 a))
8.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
7.0ms
(sqrt (+ (* a a) (* b b)))

simplify96.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (87.0ms)

IterNodesCost
0640766
13638689
25002688

prune168.0ms

Filtered
102 candidates to 69 candidates (32.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1020102
Fresh022
Picked011
Done000
Total1023105

Merged error: 0.0b

Counts
105 → 3

localize36.0ms

Local error

Found 4 expressions with local error:

1.0b
(* (* b b) (- 1.0 (* 3.0 a)))
7.3b
(sqrt (+ (* a a) (* b b)))
8.0b
(cbrt (+ (* a a) (* b b)))
8.0b
(cbrt (+ (* a a) (* b b)))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-sqr-sqrt
add-exp-log add-cbrt-cube
add-cube-cbrt *-un-lft-identity
cbrt-prod
cbrt-div add-log-exp
flip3-+ associate-*r* pow-prod-down prod-exp sqrt-prod cbrt-unprod flip-+
distribute-rgt-in sub-neg distribute-lft-in pow1/3 sqrt-div associate-*r/
rem-sqrt-square flip3-- sqrt-pow1 pow1/2 associate-*l* *-commutative flip-- unswap-sqr
Counts
4 → 66
Calls
4 calls:
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
4.0ms
(sqrt (+ (* a a) (* b b)))
3.0ms
(cbrt (+ (* a a) (* b b)))
4.0ms
(cbrt (+ (* a a) (* b b)))

series62.0ms

Counts
4 → 12
Calls
4 calls:
11.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
6.0ms
(sqrt (+ (* a a) (* b b)))
22.0ms
(cbrt (+ (* a a) (* b b)))
23.0ms
(cbrt (+ (* a a) (* b b)))

simplify38.0ms

Algorithm
egg-herbie
Counts
78 → 78
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
0320551
11292503
25001488

prune181.0ms

Filtered
78 candidates to 59 candidates (24.4%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New77178
Fresh011
Picked011
Done011
Total77481

Merged error: 0.0b

Counts
81 → 4

regimes139.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02917
12917

end0.0ms

sample2.0s

Algorithm
intervals
Results
1.5s20583×body80valid

Profiling

Loading profile data...