Details

Time bar (total: 15.1s)

sample52.0ms

Algorithm
intervals
Results
33.0ms337×body80valid

simplify1.4s

Counts
1 → 1
Iterations

Useful iterations: 2 (19.0ms)

IterNodesCost
01013
12613
25511
312111
418211
521011
623611
728511
838311
948511
1055311
1157011
done57011

prune4.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 0.2b

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
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

rewrite81.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
add-log-exp
associate-*r/
distribute-rgt-in sub-neg distribute-lft-in
flip3-- pow-prod-down prod-exp *-commutative flip-- cbrt-unprod unswap-sqr
flip3-+ diff-log flip-+
Counts
3 → 58
Calls
3 calls:
10.0ms
(- (* x 3.0) 4.0)
48.0ms
(* x (- (* x 3.0) 4.0))
20.0ms
(* 3.0 (+ 1.0 (* x (- (* x 3.0) 4.0))))

series185.0ms

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

simplify2.0s

Counts
67 → 67
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
0108772
1267749
2785675
33085667
done5000667

prune155.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 9.0) 12.0)
0.1b
(* x (- (* x 9.0) 12.0))

rewrite47.0ms

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

series125.0ms

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

simplify3.2s

Counts
42 → 42
Iterations

Useful iterations: 3 (273.0ms)

IterNodesCost
062401
1137395
2340351
31028349
44094349
done5001349

prune79.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0b

localize15.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)

rewrite129.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*
add-log-exp
associate-*r/ associate-*l* pow-prod-down prod-exp cbrt-unprod
sub-neg flip3-- flip--
distribute-rgt-in distribute-lft-in associate-*l/ *-commutative
diff-log unswap-sqr
Counts
3 → 56
Calls
3 calls:
14.0ms
(- (* x 3.0) 4.0)
37.0ms
(* x (- (* x 3.0) 4.0))
76.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)

series266.0ms

Counts
3 → 9
Calls
3 calls:
42.0ms
(- (* x 3.0) 4.0)
94.0ms
(* x (- (* x 3.0) 4.0))
130.0ms
(* (* x (- (* x 3.0) 4.0)) 3.0)

simplify2.3s

Counts
65 → 65
Iterations

Useful iterations: 3 (965.0ms)

IterNodesCost
091694
1212683
2645585
32617576
done5000576

prune123.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0b

localize15.0ms

Local error

Found 4 expressions with local error:

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

rewrite147.0ms

Algorithm
rewrite-expression-head
Rules
21×add-sqr-sqrt
18×associate-*r*
15×pow1 add-exp-log add-cbrt-cube
14×sqrt-div associate-*r/
13×add-cube-cbrt *-un-lft-identity
10×associate-*l*
flip3-+ sqrt-prod flip-+
pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in frac-times sub-neg distribute-lft-in *-commutative add-log-exp unswap-sqr
flip3-- associate-*l/ flip--
Counts
4 → 101
Calls
4 calls:
26.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
39.0ms
(* x (- (* x 3.0) 4.0))
32.0ms
(* x (- (* x 3.0) 4.0))
43.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

series419.0ms

Counts
4 → 12
Calls
4 calls:
165.0ms
(* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))
102.0ms
(* x (- (* x 3.0) 4.0))
101.0ms
(* x (- (* x 3.0) 4.0))
50.0ms
(* (* 3.0 (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0))))) (sqrt (+ 1.0 (* x (- (* x 3.0) 4.0)))))

simplify2.7s

Counts
113 → 113
Iterations

Useful iterations: 3 (1.3s)

IterNodesCost
01672164
14211768
211781568
341141555
done50001555

prune361.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0b

regimes47.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
089
1119
done119

end0.0ms

sample1.3s

Algorithm
intervals
Results
1.1s10623×body80valid