Details

Time bar (total: 3.7s)

sample40.0ms

Algorithm
intervals
Results
22.0ms548×body80valid

simplify81.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0196
1506
21596
33516
46096
57336
610686
713426
815066
915536
1015536

prune2.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: 4.8b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* x x) (* (* y 4.0) (- (* z z) t)))
0.0b
(- (* z z) t)
4.5b
(* (* y 4.0) (- (* z z) t))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt sub-neg
distribute-rgt-in add-cube-cbrt *-un-lft-identity distribute-lft-in associate-*r* associate--r+
flip3-- pow-prod-down prod-exp flip-- cbrt-unprod
diff-log associate-*r/ difference-of-squares
associate-*l* *-commutative
Counts
3 → 54
Calls
3 calls:
4.0ms
(- (* x x) (* (* y 4.0) (- (* z z) t)))
5.0ms
(- (* z z) t)
8.0ms
(* (* y 4.0) (- (* z z) t))

series168.0ms

Counts
3 → 9
Calls
3 calls:
78.0ms
(- (* x x) (* (* y 4.0) (- (* z z) t)))
28.0ms
(- (* z z) t)
62.0ms
(* (* y 4.0) (- (* z z) t))

simplify44.0ms

Algorithm
egg-herbie
Counts
63 → 63
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0292385
11348342
25001337

prune109.0ms

Filtered
63 candidates to 41 candidates (65.1%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New59463
Fresh000
Picked011
Done000
Total59564

Merged error: 2.5b

Counts
64 → 5

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x x) (* (* y 4.0) (/ (+ (neg (* t t)) (pow z 4)) (+ (* z z) t))))
3.0b
(+ (neg (* t t)) (pow z 4))
4.5b
(* (* y 4.0) (/ (+ (neg (* t t)) (pow z 4)) (+ (* z z) t)))
26.3b
(/ (+ (neg (* t t)) (pow z 4)) (+ (* z z) t))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
24×times-frac
21×add-sqr-sqrt add-cube-cbrt
18×add-exp-log associate-*r* add-cbrt-cube
10×add-log-exp
pow1
distribute-lft-out
prod-exp cbrt-unprod
flip3-+ associate-/r/ flip-+ associate-/l*
cbrt-undiv div-exp pow-prod-down associate-/r*
neg-sub0 associate-+l- sum-log div-inv associate-/l/
+-commutative sub-neg flip3-- frac-2neg diff-log div-sub associate-*r/ associate-*l* neg-log clear-num *-commutative flip--
Counts
4 → 100
Calls
4 calls:
4.0ms
(- (* x x) (* (* y 4.0) (/ (+ (neg (* t t)) (pow z 4)) (+ (* z z) t))))
6.0ms
(+ (neg (* t t)) (pow z 4))
15.0ms
(* (* y 4.0) (/ (+ (neg (* t t)) (pow z 4)) (+ (* z z) t)))
12.0ms
(/ (+ (neg (* t t)) (pow z 4)) (+ (* z z) t))

series497.0ms

Counts
4 → 12
Calls
4 calls:
190.0ms
(- (* x x) (* (* y 4.0) (/ (+ (neg (* t t)) (pow z 4)) (+ (* z z) t))))
56.0ms
(+ (neg (* t t)) (pow z 4))
166.0ms
(* (* y 4.0) (/ (+ (neg (* t t)) (pow z 4)) (+ (* z z) t)))
86.0ms
(/ (+ (neg (* t t)) (pow z 4)) (+ (* z z) t))

simplify93.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (75.0ms)

IterNodesCost
05061228
129091037
250011022

prune285.0ms

Filtered
112 candidates to 79 candidates (70.5%)
Pruning

6 alts after pruning (4 fresh and 2 done)

PrunedKeptTotal
New1102112
Fresh123
Picked011
Done011
Total1116117

Merged error: 2.4b

Counts
117 → 6

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (pow x 2) (* 4.0 (* t y)))
0.0b
(* 4.0 (* t y))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-log-exp
add-sqr-sqrt add-cube-cbrt *-un-lft-identity associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative flip3-+ associate-*r* sum-log *-commutative flip-+
Counts
2 → 29
Calls
2 calls:
5.0ms
(+ (pow x 2) (* 4.0 (* t y)))
5.0ms
(* 4.0 (* t y))

series63.0ms

Counts
2 → 6
Calls
2 calls:
43.0ms
(+ (pow x 2) (* 4.0 (* t y)))
20.0ms
(* 4.0 (* t y))

simplify88.0ms

Algorithm
egg-herbie
Counts
35 → 35
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0156160
1611141
22603141
35002141

prune70.0ms

Filtered
35 candidates to 21 candidates (60.0%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New32335
Fresh033
Picked101
Done022
Total33841

Merged error: 2.4b

Counts
41 → 8

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (pow x 2) (* (* (cbrt 4.0) (cbrt 4.0)) (* (cbrt 4.0) (* t y))))
0.2b
(* (* (cbrt 4.0) (cbrt 4.0)) (* (cbrt 4.0) (* t y)))
0.4b
(* (cbrt 4.0) (* t y))
1.0b
(* (cbrt 4.0) (cbrt 4.0))

rewrite31.0ms

Algorithm
rewrite-expression-head
Rules
37×pow1
32×add-exp-log
22×add-sqr-sqrt
20×pow-prod-down
19×cbrt-prod prod-exp cbrt-unprod
18×add-cbrt-cube
14×add-cube-cbrt *-un-lft-identity
13×associate-*l*
associate-*r*
pow1/3 swap-sqr add-log-exp
unswap-sqr
*-commutative
pow-sqr pow-prod-up
+-commutative pow2 flip3-+ pow-plus sum-log flip-+
Counts
4 → 100
Calls
4 calls:
5.0ms
(+ (pow x 2) (* (* (cbrt 4.0) (cbrt 4.0)) (* (cbrt 4.0) (* t y))))
12.0ms
(* (* (cbrt 4.0) (cbrt 4.0)) (* (cbrt 4.0) (* t y)))
6.0ms
(* (cbrt 4.0) (* t y))
6.0ms
(* (cbrt 4.0) (cbrt 4.0))

series213.0ms

Counts
4 → 10
Calls
4 calls:
91.0ms
(+ (pow x 2) (* (* (cbrt 4.0) (cbrt 4.0)) (* (cbrt 4.0) (* t y))))
72.0ms
(* (* (cbrt 4.0) (cbrt 4.0)) (* (cbrt 4.0) (* t y)))
50.0ms
(* (cbrt 4.0) (* t y))
0.0ms
(* (cbrt 4.0) (cbrt 4.0))

simplify67.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0308713
11513576
25002534

prune190.0ms

Filtered
110 candidates to 61 candidates (55.5%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New1091110
Fresh055
Picked101
Done022
Total1108118

Merged error: 2.4b

Counts
118 → 8

regimes435.0ms

Accuracy

80.7% (0.6b remaining)

Error of 3.1b against oracle of 2.5b and baseline of 5.8b

bsearch1.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02516
12516

end0.0ms

sample1.1s

Algorithm
intervals
Results
660.0ms15912×body80valid

Profiling

Loading profile data...