Details

Time bar (total: 5.5s)

sample21.0ms

Algorithm
intervals
Results
7.0ms336×body80valid

simplify177.0ms

Counts
1 → 1
Iterations

Useful iterations: 8 (65.0ms)

IterNodesCost
0144
1344
2924
32324
44914
57854
611154
714824
822183
933493
1048193
1150013
done50013

prune6.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 3.6b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(* (- 1.0 y) z)
3.4b
(* x (- 1.0 (* (- 1.0 y) z)))

rewrite48.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
add-cube-cbrt associate-*l*
pow1 add-exp-log associate-*r* prod-diff add-cbrt-cube
distribute-rgt-in distribute-lft-in
expm1-log1p-u sub-neg flip3-- associate-*r/ pow-prod-down associate-*l/ prod-exp *-commutative flip-- cbrt-unprod log1p-expm1-u add-log-exp unswap-sqr
distribute-lft-out-- difference-of-squares
Counts
2 → 56
Calls
2 calls:
22.0ms
(* (- 1.0 y) z)
24.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

series96.0ms

Counts
2 → 6
Calls
2 calls:
34.0ms
(* (- 1.0 y) z)
61.0ms
(* x (- 1.0 (* (- 1.0 y) z)))

simplify45.0ms

Counts
62 → 62
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0244345
11005301
25001292
done5001292

prune138.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize8.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x 1.0) (* (* x z) (- y 1.0)))
3.6b
(* (* x z) (- y 1.0))

rewrite54.0ms

Algorithm
rewrite-expression-head
Rules
36×prod-diff
29×add-sqr-sqrt *-un-lft-identity
27×add-cube-cbrt
22×distribute-rgt-in associate-+r+ distribute-lft-in
pow1 add-exp-log add-cbrt-cube
associate-*r*
sub-neg add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u associate-*r/ log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 82
Calls
2 calls:
14.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
36.0ms
(* (* x z) (- y 1.0))

series131.0ms

Counts
2 → 6
Calls
2 calls:
70.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
61.0ms
(* (* x z) (- y 1.0))

simplify71.0ms

Counts
88 → 88
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
0448736
11854512
25001506
done5001506

prune189.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 4 expressions with local error:

0.2b
(cbrt (- y 1.0))
0.3b
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
0.7b
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
3.0b
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

rewrite328.0ms

Algorithm
rewrite-expression-head
Rules
80×cbrt-div
44×associate-*r/
41×pow1
40×flip3-- flip--
38×cbrt-prod
36×add-exp-log frac-times
35×add-sqr-sqrt
33×*-un-lft-identity
23×pow-prod-down
22×prod-exp cbrt-unprod
21×add-cbrt-cube
18×associate-*l/
17×associate-*r*
15×add-cube-cbrt
10×swap-sqr associate-*l*
distribute-lft-out--
pow1/3
difference-of-squares
expm1-log1p-u log1p-expm1-u add-log-exp unswap-sqr
*-commutative
pow-sqr pow-prod-up
pow2 pow-plus
Counts
4 → 167
Calls
4 calls:
4.0ms
(cbrt (- y 1.0))
40.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
211.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
64.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

series803.0ms

Counts
4 → 12
Calls
4 calls:
115.0ms
(cbrt (- y 1.0))
402.0ms
(* (cbrt (- y 1.0)) (cbrt (- y 1.0)))
79.0ms
(* (* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (cbrt (- y 1.0)))
207.0ms
(* (* x z) (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))

simplify125.0ms

Counts
179 → 179
Iterations

Useful iterations: 2 (108.0ms)

IterNodesCost
08111950
134181719
250021611
done50021611

prune499.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0b

localize25.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))
0.4b
(pow (cbrt (cbrt (- y 1.0))) 4)
0.7b
(* (* (* x z) (* (cbrt (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4))) (cbrt (- y 1.0)))
3.0b
(* (* x z) (* (cbrt (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4)))

rewrite432.0ms

Algorithm
rewrite-expression-head
Rules
118×cbrt-div
63×add-exp-log
50×associate-*l/
45×prod-exp
44×associate-*r/
39×flip3-- flip--
36×frac-times
25×add-cbrt-cube
21×cbrt-unprod
19×pow1 cbrt-prod
14×add-sqr-sqrt *-un-lft-identity
11×unpow-prod-down
10×add-cube-cbrt
associate-*r* pow-prod-down
pow-to-exp pow-exp
expm1-log1p-u log1p-expm1-u add-log-exp
pow-unpow
pow-pow pow1/3 associate-*l* *-commutative distribute-lft-out-- difference-of-squares
sqr-pow
Counts
4 → 143
Calls
4 calls:
14.0ms
(cbrt (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))
11.0ms
(pow (cbrt (cbrt (- y 1.0))) 4)
297.0ms
(* (* (* x z) (* (cbrt (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4))) (cbrt (- y 1.0)))
102.0ms
(* (* x z) (* (cbrt (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4)))

series683.0ms

Counts
4 → 12
Calls
4 calls:
170.0ms
(cbrt (* (cbrt (- y 1.0)) (cbrt (- y 1.0))))
231.0ms
(pow (cbrt (cbrt (- y 1.0))) 4)
85.0ms
(* (* (* x z) (* (cbrt (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4))) (cbrt (- y 1.0)))
196.0ms
(* (* x z) (* (cbrt (* (cbrt (- y 1.0)) (cbrt (- y 1.0)))) (pow (cbrt (cbrt (- y 1.0))) 4)))

simplify136.0ms

Counts
155 → 155
Iterations

Useful iterations: 2 (114.0ms)

IterNodesCost
09502608
137082353
250012333
done50012333

prune631.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

regimes337.0ms

Accuracy

92.6% (0.1b remaining)

Error of 0.2b against oracle of 0.0b and baseline of 1.8b

bsearch5.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03817
14217
24917
34917
done4917

end0.0ms

sample504.0ms

Algorithm
intervals
Results
228.0ms10164×body80valid