Details

Time bar (total: 3.5s)

sample36.0ms

Algorithm
intervals
Results
16.0ms307×body80valid
2.0msbody640valid
0.0msbody320valid
0.0msbody160valid
0.0msbody1280valid

simplify76.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 1 (3.0ms)

IterNodesCost
0216
1515
21725
34815
412415
531025
650015

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (/ 2.0 3.0) z)
0.0b
(* 6.0 (- (/ 2.0 3.0) z))
0.1b
(fma (- y x) (* 6.0 (- (/ 2.0 3.0) z)) x)

rewrite37.0ms

Algorithm
rewrite-expression-head
Rules
126×add-sqr-sqrt
118×*-un-lft-identity
117×prod-diff
114×add-cube-cbrt
92×times-frac
41×distribute-rgt-in distribute-lft-in
13×fma-neg
10×div-inv
associate-*r*
pow1 add-exp-log add-cbrt-cube add-log-exp
difference-of-squares
expm1-log1p-u sub-neg associate-*l* log1p-expm1-u
flip3-- associate-*r/ flip-- distribute-lft-out--
diff-log pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 186
Calls
3 calls:
9.0ms
(- (/ 2.0 3.0) z)
12.0ms
(* 6.0 (- (/ 2.0 3.0) z))
1.0ms
(fma (- y x) (* 6.0 (- (/ 2.0 3.0) z)) x)

series113.0ms

Counts
3 → 9
Calls
3 calls:
19.0ms
(- (/ 2.0 3.0) z)
43.0ms
(* 6.0 (- (/ 2.0 3.0) z))
51.0ms
(fma (- y x) (* 6.0 (- (/ 2.0 3.0) z)) x)

simplify64.0ms

Algorithm
egg-herbie
Counts
195 → 195
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
04532251
115921519
250021387

prune269.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (/ 2.0 3.0) z)
0.0b
(* (- y x) 6.0)
0.2b
(+ x (* (* (- y x) 6.0) (- (/ 2.0 3.0) z)))
0.3b
(* (* (- y x) 6.0) (- (/ 2.0 3.0) z))

rewrite66.0ms

Algorithm
rewrite-expression-head
Rules
199×add-sqr-sqrt
195×prod-diff
191×*-un-lft-identity
185×add-cube-cbrt
146×times-frac
82×distribute-rgt-in associate-+r+ distribute-lft-in
16×div-inv
13×fma-neg
11×pow1 add-exp-log add-cbrt-cube
10×associate-*l/
associate-*r*
flip3-- flip-- add-log-exp
associate-*l*
sub-neg difference-of-squares
expm1-log1p-u frac-times pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
fma-def distribute-lft-out--
associate-*r/ *-commutative
+-commutative flip3-+ diff-log sum-log flip-+ unswap-sqr
Counts
4 → 304
Calls
4 calls:
9.0ms
(- (/ 2.0 3.0) z)
6.0ms
(* (- y x) 6.0)
11.0ms
(+ x (* (* (- y x) 6.0) (- (/ 2.0 3.0) z)))
20.0ms
(* (* (- y x) 6.0) (- (/ 2.0 3.0) z))

series159.0ms

Counts
4 → 12
Calls
4 calls:
18.0ms
(- (/ 2.0 3.0) z)
28.0ms
(* (- y x) 6.0)
63.0ms
(+ x (* (* (- y x) 6.0) (- (/ 2.0 3.0) z)))
48.0ms
(* (* (- y x) 6.0) (- (/ 2.0 3.0) z))

simplify114.0ms

Algorithm
egg-herbie
Counts
316 → 316
Iterations

Useful iterations: 1 (21.0ms)

IterNodesCost
010163937
143622939
250012939

prune638.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize15.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- y x) 6.0)
0.2b
(+ x (* (* (- y x) 6.0) (fma (sqrt (/ 2.0 3.0)) (sqrt (/ 2.0 3.0)) (- z))))
0.3b
(* (* (- y x) 6.0) (fma (sqrt (/ 2.0 3.0)) (sqrt (/ 2.0 3.0)) (- z)))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
10×pow1 add-exp-log add-cbrt-cube
*-un-lft-identity
add-cube-cbrt
associate-*r* associate-*l* associate-*l/
add-log-exp
pow-prod-down prod-exp cbrt-unprod fma-udef
expm1-log1p-u fma-def log1p-expm1-u
distribute-rgt-in associate-+r+ flip3-- distribute-lft-in *-commutative flip--
+-commutative flip3-+ sum-log flip-+ distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 66
Calls
3 calls:
6.0ms
(* (- y x) 6.0)
3.0ms
(+ x (* (* (- y x) 6.0) (fma (sqrt (/ 2.0 3.0)) (sqrt (/ 2.0 3.0)) (- z))))
7.0ms
(* (* (- y x) 6.0) (fma (sqrt (/ 2.0 3.0)) (sqrt (/ 2.0 3.0)) (- z)))

series428.0ms

Counts
3 → 9
Calls
3 calls:
34.0ms
(* (- y x) 6.0)
234.0ms
(+ x (* (* (- y x) 6.0) (fma (sqrt (/ 2.0 3.0)) (sqrt (/ 2.0 3.0)) (- z))))
160.0ms
(* (* (- y x) 6.0) (fma (sqrt (/ 2.0 3.0)) (sqrt (/ 2.0 3.0)) (- z)))

simplify50.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0333646
11551546
25003517

prune206.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize21.0ms

Local error

Found 4 expressions with local error:

0.0b
(fma 2.0 (/ 1 3.0) (- (* z 1)))
0.2b
(* (* (- y x) 6.0) (fma (- z) 1 (* z 1)))
0.3b
(* (fma 2.0 (/ 1 3.0) (- (* z 1))) (- y x))
0.3b
(fma (* (fma 2.0 (/ 1 3.0) (- (* z 1))) (- y x)) 6.0 x)

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
23×add-sqr-sqrt
21×*-un-lft-identity
19×add-cube-cbrt
18×prod-diff
12×distribute-rgt-in distribute-lft-in
11×pow1 add-exp-log add-cbrt-cube
associate-*r*
expm1-log1p-u associate-*l* pow-prod-down associate-*l/ prod-exp cbrt-unprod fma-udef log1p-expm1-u add-log-exp
sub-neg flip3-- associate-*r/ *-commutative flip--
distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 90
Calls
4 calls:
1.0ms
(fma 2.0 (/ 1 3.0) (- (* z 1)))
7.0ms
(* (* (- y x) 6.0) (fma (- z) 1 (* z 1)))
7.0ms
(* (fma 2.0 (/ 1 3.0) (- (* z 1))) (- y x))
1.0ms
(fma (* (fma 2.0 (/ 1 3.0) (- (* z 1))) (- y x)) 6.0 x)

series167.0ms

Counts
4 → 12
Calls
4 calls:
36.0ms
(fma 2.0 (/ 1 3.0) (- (* z 1)))
39.0ms
(* (* (- y x) 6.0) (fma (- z) 1 (* z 1)))
41.0ms
(* (fma 2.0 (/ 1 3.0) (- (* z 1))) (- y x))
50.0ms
(fma (* (fma 2.0 (/ 1 3.0) (- (* z 1))) (- y x)) 6.0 x)

simplify53.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
03931044
11687807
25001802

prune259.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

regimes134.0ms

Accuracy

0% (0.3b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01710
11710

end0.0ms

sample564.0ms

Algorithm
intervals
Results
286.0ms9416×body80valid
30.0ms255×body640valid
19.0ms138×body1280valid
15.0ms180×body320valid
8.0ms127×body160valid