Details

Time bar (total: 4.2s)

sample61.0ms

Algorithm
intervals
Results
43.0ms712×body80valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
05114
115514
243014
3119514
4252614
5500114

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

localize15.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) (+ 3.0 a)))))
0.1b
(* (* a a) (- 1.0 a))
0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.6b
(* (* b b) (+ 3.0 a))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
15×pow1 add-exp-log
14×add-cbrt-cube
12×add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
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 distribute-lft-out-- difference-of-squares sqr-pow
Counts
4 → 81
Calls
4 calls:
7.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
8.0ms
(* (* a a) (- 1.0 a))
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
11.0ms
(* (* b b) (+ 3.0 a))

series296.0ms

Counts
4 → 12
Calls
4 calls:
109.0ms
(+ (pow (+ (* a a) (* b b)) 2.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
54.0ms
(* (* a a) (- 1.0 a))
101.0ms
(pow (+ (* a a) (* b b)) 2.0)
31.0ms
(* (* b b) (+ 3.0 a))

simplify68.0ms

Algorithm
egg-herbie
Counts
93 → 93
Iterations

Useful iterations: 1 (15.0ms)

IterNodesCost
0506651
12520583
25001583

prune209.0ms

Filtered
93 candidates to 63 candidates (67.7%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New89493
Fresh000
Picked011
Done000
Total89594

Merged error: 0.0b

Counts
94 → 5

localize13.0ms

Local error

Found 2 expressions with local error:

0.0b
(* 2 (* (pow a 2) (pow b 2)))
1.3b
(* (pow a 2) (pow b 2))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
37×add-exp-log
28×prod-exp
23×add-sqr-sqrt
16×unswap-sqr
14×unpow-prod-down
12×pow-to-exp pow-exp
11×associate-*l*
10×unpow2 sqr-pow
associate-*r* add-cbrt-cube
add-cube-cbrt *-un-lft-identity
pow1 cbrt-unprod
pow-prod-down *-commutative add-log-exp
Counts
2 → 76
Calls
2 calls:
7.0ms
(* 2 (* (pow a 2) (pow b 2)))
7.0ms
(* (pow a 2) (pow b 2))

series69.0ms

Counts
2 → 6
Calls
2 calls:
39.0ms
(* 2 (* (pow a 2) (pow b 2)))
30.0ms
(* (pow a 2) (pow b 2))

simplify36.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0229438
11064329
25002318

prune119.0ms

Filtered
82 candidates to 37 candidates (45.1%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New82082
Fresh033
Picked011
Done011
Total82587

Merged error: 0.0b

Counts
87 → 5

localize19.0ms

Local error

Found 4 expressions with local error:

0.3b
(pow (+ (* a a) (* b b)) 2.0)
0.6b
(* (* b b) (+ 3.0 a))
2.9b
(exp (log (* (* b b) (+ 3.0 a))))
23.2b
(log (* (* b b) (+ 3.0 a)))

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
22×pow1
16×add-exp-log
10×*-un-lft-identity
add-sqr-sqrt pow-prod-down add-cbrt-cube
add-cube-cbrt
exp-prod associate-*r/ prod-exp log-pow
log-div associate-*r* add-log-exp
unpow-prod-down pow-unpow flip3-+ rem-log-exp cbrt-unprod flip-+
log-prod exp-diff
distribute-rgt-in pow-to-exp pow-pow distribute-lft-in associate-*l* exp-sum pow-exp *-commutative rem-exp-log distribute-lft-out unswap-sqr sqr-pow
Counts
4 → 74
Calls
4 calls:
4.0ms
(pow (+ (* a a) (* b b)) 2.0)
8.0ms
(* (* b b) (+ 3.0 a))
7.0ms
(exp (log (* (* b b) (+ 3.0 a))))
7.0ms
(log (* (* b b) (+ 3.0 a)))

series249.0ms

Counts
4 → 12
Calls
4 calls:
105.0ms
(pow (+ (* a a) (* b b)) 2.0)
31.0ms
(* (* b b) (+ 3.0 a))
36.0ms
(exp (log (* (* b b) (+ 3.0 a))))
75.0ms
(log (* (* b b) (+ 3.0 a)))

simplify49.0ms

Algorithm
egg-herbie
Counts
86 → 86
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0382451
11718409
25001406

prune220.0ms

Filtered
86 candidates to 56 candidates (65.1%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New86086
Fresh022
Picked011
Done022
Total86591

Merged error: 0.0b

Counts
91 → 5

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow (/ 1 a) -4.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
0.1b
(* (* a a) (- 1.0 a))
0.3b
(pow (/ 1 a) -4.0)
0.6b
(* (* b b) (+ 3.0 a))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
19×add-exp-log
18×add-sqr-sqrt *-un-lft-identity
16×pow1
14×add-cube-cbrt add-cbrt-cube
13×unpow-prod-down
times-frac associate-*r*
pow-prod-down prod-exp cbrt-unprod add-log-exp
distribute-rgt-in distribute-lft-in associate-*r/ pow-exp
pow-unpow pow-pow
sub-neg associate-+r+ flip3-+ div-exp associate-*l* *-commutative flip-+ unswap-sqr
+-commutative pow-to-exp rec-exp flip3-- pow-flip 1-exp sum-log flip-- div-inv distribute-lft-out distribute-lft-out-- inv-pow difference-of-squares sqr-pow
Counts
4 → 96
Calls
4 calls:
10.0ms
(+ (pow (/ 1 a) -4.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
8.0ms
(* (* a a) (- 1.0 a))
5.0ms
(pow (/ 1 a) -4.0)
8.0ms
(* (* b b) (+ 3.0 a))

series348.0ms

Counts
4 → 12
Calls
4 calls:
72.0ms
(+ (pow (/ 1 a) -4.0) (* 4.0 (+ (* (* a a) (- 1.0 a)) (* (* b b) (+ 3.0 a)))))
54.0ms
(* (* a a) (- 1.0 a))
171.0ms
(pow (/ 1 a) -4.0)
52.0ms
(* (* b b) (+ 3.0 a))

simplify76.0ms

Algorithm
egg-herbie
Counts
108 → 108
Iterations

Useful iterations: 2 (62.0ms)

IterNodesCost
0602656
12812582
25001579

prune210.0ms

Filtered
108 candidates to 68 candidates (63.0%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New1071108
Fresh011
Picked011
Done123
Total1085113

Merged error: 0b

Counts
113 → 5

regimes128.0ms

Accuracy

74.3% (0.6b remaining)

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

bsearch89.0ms

Steps
ItersRangePoint
9
-2315874.671934796
-14.519914462167517
-120102.64415358429

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04525
14525

end0.0ms

sample1.7s

Algorithm
intervals
Results
1.3s20592×body80valid

Profiling

Loading profile data...