Details

Time bar (total: 5.3s)

sample57.0ms

Algorithm
intervals
Results
39.0ms654×body80valid

simplify91.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)))

rewrite29.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))
5.0ms
(pow (+ (* a a) (* b b)) 2.0)
7.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

series305.0ms

Counts
4 → 12
Calls
4 calls:
105.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))
99.0ms
(pow (+ (* a a) (* b b)) 2.0)
51.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify65.0ms

Algorithm
egg-herbie
Counts
91 → 91
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0504702
12520622
25002622

prune240.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0.0b

localize18.0ms

Local error

Found 4 expressions with local error:

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

rewrite30.0ms

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

series266.0ms

Counts
4 → 12
Calls
4 calls:
47.0ms
(* (* a a) (+ 1.0 a))
67.0ms
(* (* (* b b) (- 1.0 (* 3.0 a))) 4.0)
101.0ms
(pow (+ (* a a) (* b b)) 2.0)
51.0ms
(* (* b b) (- 1.0 (* 3.0 a)))

simplify70.0ms

Algorithm
egg-herbie
Counts
101 → 101
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0477613
12512508
25001508

prune242.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0.0b

localize28.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)))))))

series599.0ms

Counts
4 → 12
Calls
4 calls:
53.0ms
(* (* 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)))))))
182.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)))))))

simplify49.0ms

Algorithm
egg-herbie
Counts
76 → 76
Iterations

Useful iterations: 2 (36.0ms)

IterNodesCost
03481404
114381278
250011257

prune329.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

localize33.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)))))))

rewrite25.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:
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)))))))
6.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

series733.0ms

Counts
4 → 12
Calls
4 calls:
182.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)))))))
184.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))
184.0ms
(cbrt (+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (+ 1.0 a)) (* (* b b) (- 1.0 (* 3.0 a)))))))

simplify115.0ms

Algorithm
egg-herbie
Counts
64 → 64
Iterations

Useful iterations: 2 (21.0ms)

IterNodesCost
02021636
16821512
234211460
350011460

prune361.0ms

Pruning

4 alts after pruning (1 fresh and 3 done)

Merged error: 0b

regimes118.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.5s

Algorithm
intervals
Results
1.1s20313×body80valid