Details

Time bar (total: 12.3s)

sample17.0ms

Algorithm
intervals
Results
8.0ms336×body80valid

simplify2.5s

Counts
1 → 1
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
01013
12713
26311
315110
429110
535610
642010
753210
869610
994410
10113910
11121810
12121910
done121910

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite362.0ms

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

series176.0ms

Counts
4 → 12
Calls
4 calls:
82.0ms
(- (* (* x 3.0) x) (* x 4.0))
30.0ms
(+ (- (* (* x 3.0) x) (* x 4.0)) 1.0)
34.0ms
(* 3.0 (+ (- (* (* x 3.0) x) (* x 4.0)) 1.0))
29.0ms
(* (* x 3.0) x)

simplify2.5s

Counts
95 → 95
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
01301208
13421149
21102919
34581865
done5000865

prune220.0ms

Pruning

7 alts after pruning (7 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite44.0ms

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

series111.0ms

Counts
2 → 6
Calls
2 calls:
42.0ms
(- (* x 9.0) 12.0)
69.0ms
(* x (- (* x 9.0) 12.0))

simplify1.0s

Counts
56 → 56
Iterations

Useful iterations: done (1.0s)

IterNodesCost
095644
1193552
2455481
31673452
done5001440

prune115.0ms

Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0b

localize8.0ms

Local error

Found 3 expressions with local error:

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

rewrite90.0ms

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

series211.0ms

Counts
3 → 9
Calls
3 calls:
47.0ms
(- (* x 3.0) 4.0)
70.0ms
(* x (- (* x 3.0) 4.0))
95.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)

simplify2.4s

Counts
81 → 81
Iterations

Useful iterations: done (2.3s)

IterNodesCost
0126957
1271859
2763734
33282717
done5000698

prune161.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(fma x 3.0 (- 4.0))
0.1b
(* x (fma x 3.0 (- 4.0)))
0.1b
(* (* x (fma x 3.0 (- 4.0))) 3.0)

rewrite27.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt *-un-lft-identity associate-*r*
associate-*l* pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u fma-udef log1p-expm1-u add-log-exp
*-commutative
distribute-rgt-in distribute-lft-in unswap-sqr
Counts
3 → 52
Calls
3 calls:
0.0ms
(fma x 3.0 (- 4.0))
7.0ms
(* x (fma x 3.0 (- 4.0)))
18.0ms
(* (* x (fma x 3.0 (- 4.0))) 3.0)

series235.0ms

Counts
3 → 9
Calls
3 calls:
48.0ms
(fma x 3.0 (- 4.0))
84.0ms
(* x (fma x 3.0 (- 4.0)))
103.0ms
(* (* x (fma x 3.0 (- 4.0))) 3.0)

simplify1.5s

Counts
61 → 61
Iterations

Useful iterations: 3 (627.0ms)

IterNodesCost
079622
1163614
2520516
32248510
done5000510

prune129.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

regimes27.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
089
1119
done119

end0.0ms

sample422.0ms

Algorithm
intervals
Results
267.0ms10583×body80valid