Details

Time bar (total: 5.2s)

sample54.0ms

Algorithm
intervals
Results
37.0ms654×body80valid

simplify90.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05315
116115
245915
3132315
4299215
5500115

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize16.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.0b
(* (* a a) (+ 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
1.1b
(* (* b b) (- 1.0 (* 3.0 a)))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-cbrt-cube
10×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
associate-*r*
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/
unpow-prod-down pow-unpow
sub-neg associate-+r+ flip3-+ associate-*l* *-commutative flip-+ unswap-sqr
+-commutative pow-to-exp flip3-- pow-pow pow-exp sum-log flip-- distribute-lft-out sqr-pow
Counts
4 → 79
Calls
4 calls:
7.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 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)))

series300.0ms

Counts
4 → 12
Calls
4 calls:
102.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a))))))
50.0ms
(* (* a a) (+ 1.0 a))
98.0ms
(pow (+ (* a a) (* b b)) 2.0)
50.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify63.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0504702
12520622
25002622

prune234.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite31.0ms

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

series267.0ms

Counts
4 → 12
Calls
4 calls:
50.0ms
(* (* a a) (+ 1.0 a))
66.0ms
(* 4.0 (* (* b b) (- 1.0 (* 3.0 a))))
99.0ms
(pow (+ (* a a) (* b b)) 2.0)
52.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify63.0ms

Algorithm
egg-herbie
Counts
109 → 109
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0493675
12467570
25001570

prune242.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize22.0ms

Local error

Found 4 expressions with local error:

1.1b
(* (* b b) (- 1.0 (* 3.0 a)))
9.1b
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
9.1b
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
9.1b
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

rewrite26.0ms

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

series594.0ms

Counts
4 → 12
Calls
4 calls:
51.0ms
(* (* b b) (- 1.0 (* 3.0 a)))
179.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
183.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
181.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

simplify46.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03481404
114381278
250011257

prune322.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize28.0ms

Local error

Found 4 expressions with local error:

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

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
9.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
6.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

series721.0ms

Counts
4 → 12
Calls
4 calls:
181.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
182.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
181.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
178.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

simplify108.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (20.0ms)

IterNodesCost
02021636
16821512
234211460
350011460

prune360.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes123.0ms

Accuracy

0% (0.2b 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
02916
12916

end0.0ms

sample1.4s

Algorithm
intervals
Results
1.1s20313×body80valid