Details

Time bar (total: 10.2s)

sample16.0ms

Algorithm
intervals
Results
8.0ms328×body80valid

simplify2.9s

Counts
1 → 1
Iterations

Useful iterations: 3 (19.0ms)

IterNodesCost
01013
12613
26211
314410
426410
533410
637810
745610
876310
9124010
10157810
11160810
done160810

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.1b

localize12.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (* x 3.0) x) (* x 4.0))
0.1b
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
0.2b
(* (* x 3.0) x)

rewrite114.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
associate-*r*
add-cube-cbrt
add-log-exp
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
associate-*r/ *-commutative
distribute-rgt-in sub-neg flip3-- distribute-lft-in flip3-+ fma-neg diff-log prod-diff flip-- flip-+ distribute-lft-out unswap-sqr
Counts
3 → 61
Calls
3 calls:
7.0ms
(- (* (* x 3.0) x) (* x 4.0))
99.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
7.0ms
(* (* x 3.0) x)

series140.0ms

Counts
3 → 9
Calls
3 calls:
79.0ms
(- (* (* x 3.0) x) (* x 4.0))
33.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
28.0ms
(* (* x 3.0) x)

simplify561.0ms

Counts
70 → 70
Iterations

Useful iterations: done (557.0ms)

IterNodesCost
0115883
1308833
21224671
done5000667

prune146.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* x (- (* x 9.0) 12.0)) 3.0)
0.1b
(* x (- (* x 9.0) 12.0))

rewrite25.0ms

Algorithm
rewrite-expression-head
Rules
12×prod-diff
10×distribute-rgt-in add-sqr-sqrt associate-+l+ distribute-lft-in
add-cube-cbrt *-un-lft-identity
pow1 add-exp-log sub-neg add-cbrt-cube add-log-exp
associate-*r* associate-*l*
expm1-log1p-u associate-*r/ log1p-expm1-u
+-commutative flip3-- fma-def flip3-+ pow-prod-down prod-exp sum-log *-commutative flip-- cbrt-unprod flip-+ unswap-sqr
Counts
2 → 56
Calls
2 calls:
7.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
12.0ms
(* x (- (* x 9.0) 12.0))

series95.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(+ (* x (- (* x 9.0) 12.0)) 3.0)
65.0ms
(* x (- (* x 9.0) 12.0))

simplify3.1s

Counts
62 → 62
Iterations

Useful iterations: 3 (494.0ms)

IterNodesCost
0115791
1267655
2870570
34507564
done5000564

prune154.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (* 3.0 (* x (- (* x 3.0) 4.0))) (* 1.0 3.0))
0.0b
(- (* x 3.0) 4.0)
0.1b
(* x (- (* x 3.0) 4.0))
0.1b
(* 3.0 (* x (- (* x 3.0) 4.0)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
45×distribute-rgt-in distribute-lft-in
33×prod-diff
20×add-sqr-sqrt associate-+l+
18×add-cube-cbrt *-un-lft-identity
11×pow1 add-exp-log sub-neg add-cbrt-cube
add-log-exp
associate-*r/ associate-*l*
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
flip3-- flip--
*-commutative
+-commutative fma-def flip3-+ fma-neg diff-log sum-log flip-+ unswap-sqr
Counts
4 → 126
Calls
4 calls:
18.0ms
(+ (* 3.0 (* x (- (* x 3.0) 4.0))) (* 1.0 3.0))
3.0ms
(- (* x 3.0) 4.0)
12.0ms
(* x (- (* x 3.0) 4.0))
19.0ms
(* 3.0 (* x (- (* x 3.0) 4.0)))

series269.0ms

Counts
4 → 12
Calls
4 calls:
29.0ms
(+ (* 3.0 (* x (- (* x 3.0) 4.0))) (* 1.0 3.0))
56.0ms
(- (* x 3.0) 4.0)
81.0ms
(* x (- (* x 3.0) 4.0))
103.0ms
(* 3.0 (* x (- (* x 3.0) 4.0)))

simplify924.0ms

Counts
138 → 138
Iterations

Useful iterations: 2 (197.0ms)

IterNodesCost
01962032
14791679
217771417
done50001417

prune256.0ms

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (fma 9.0 (pow x 2) 3.0) (* 12.0 x))
0.0b
(fma 9.0 (pow x 2) 3.0)

rewrite4.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
fma-neg prod-diff
pow1 add-exp-log expm1-log1p-u add-cbrt-cube fma-udef log1p-expm1-u
sub-neg flip3-- diff-log associate--l+ flip--
Counts
2 → 31
Calls
2 calls:
3.0ms
(- (fma 9.0 (pow x 2) 3.0) (* 12.0 x))
0.0ms
(fma 9.0 (pow x 2) 3.0)

series78.0ms

Counts
2 → 6
Calls
2 calls:
29.0ms
(- (fma 9.0 (pow x 2) 3.0) (* 12.0 x))
49.0ms
(fma 9.0 (pow x 2) 3.0)

simplify948.0ms

Counts
37 → 37
Iterations

Useful iterations: done (947.0ms)

IterNodesCost
052468
1114444
2393407
32052373
done5001370

prune81.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes19.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify1.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0910
11010
done1010

end0.0ms

sample369.0ms

Algorithm
intervals
Results
257.0ms10691×body80valid