Details

Time bar (total: 1.7s)

analyze291.0ms

Algorithm
search
Search
TrueOtherFalseIter
0%99.9%0.1%0
0%99.9%0.1%1
0%99.9%0.1%2
0%99.9%0.1%3
0%99.9%0.1%4
0%99.9%0.1%5
0%99.9%0.1%6
12.5%87.4%0.1%7
31.2%68.6%0.1%8
35.9%60.8%3.3%9
44.1%48%7.9%10
54.8%36.9%8.3%11
57.6%31.5%10.9%12
61.9%24%14.1%13
67.2%18.6%14.2%14

sample17.0ms

Algorithm
intervals
Results
7.0ms256×body80valid
1.0ms27×body80invalid

simplify28.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (26.0ms)

IterNodesCost
07339
17339

prune6.0ms

Filtered
1 candidates to 1 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

PrunedKeptTotal
New101
Fresh011
Picked000
Done000
Total112

Merged error: 2.3b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite15.0ms

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

series17.0ms

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

simplify33.0ms

Algorithm
egg-herbie
Counts
50 → 50
Iterations

Useful iterations: 0 (29.0ms)

IterNodesCost
04969430
14969430

prune89.0ms

Filtered
36 candidates to 50 candidates (-38.9%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New41950
Fresh000
Picked101
Done000
Total42951

Merged error: 2.2b

Counts
51 → 9

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
10×pow1 add-exp-log add-sqr-sqrt sub-neg add-cbrt-cube
distribute-rgt-in distribute-lft-in
*-un-lft-identity
add-cube-cbrt associate-*r/ associate-*r* associate-*l*
add-log-exp
associate-+r+ pow-prod-down prod-exp cbrt-unprod
flip3-- *-commutative flip--
+-commutative flip3-+ sum-log flip-+ distribute-lft-out distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 64
Calls
3 calls:
6.0ms
(* z (- y 1.0))
5.0ms
(+ (* x 1.0) (* x (* z (- y 1.0))))
7.0ms
(* x (* z (- y 1.0)))

series25.0ms

Counts
3 → 9
Calls
3 calls:
5.0ms
(* z (- y 1.0))
11.0ms
(+ (* x 1.0) (* x (* z (- y 1.0))))
9.0ms
(* x (* z (- y 1.0)))

simplify45.0ms

Algorithm
egg-herbie
Counts
73 → 73
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04997615
14997615

prune89.0ms

Filtered
46 candidates to 73 candidates (-58.7%)
Pruning

8 alts after pruning (7 fresh and 1 done)

PrunedKeptTotal
New71273
Fresh358
Picked011
Done000
Total74882

Merged error: 0b

Counts
82 → 8

localize7.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity associate-*r*
sub-neg add-log-exp
add-cube-cbrt pow-prod-down prod-exp cbrt-unprod
distribute-rgt-in associate-+r+ distribute-lft-in associate-*r/
+-commutative flip3-- flip3-+ associate-*l* sum-log *-commutative flip-- flip-+ distribute-lft-out-- difference-of-squares
Counts
2 → 37
Calls
2 calls:
4.0ms
(+ (* x 1.0) (* (* x z) (- y 1.0)))
7.0ms
(* (* x z) (- y 1.0))

series20.0ms

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

simplify43.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 0 (39.0ms)

IterNodesCost
04963415
14963415

prune57.0ms

Filtered
28 candidates to 43 candidates (-53.6%)
Pruning

8 alts after pruning (6 fresh and 2 done)

PrunedKeptTotal
New43043
Fresh066
Picked011
Done011
Total43851

Merged error: 0b

Counts
51 → 8

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x (* z y)) (* x (* z (neg 1.0))))
0.0b
(+ (* x 1.0) (+ (* x (* z y)) (* x (* z (neg 1.0)))))
5.5b
(* x (* z y))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity sum-log distribute-rgt-neg-out
associate-*l* pow-prod-down prod-exp cbrt-unprod distribute-lft-out
+-commutative flip3-+ unsub-neg flip-+
associate-+r- associate-+r+ associate-*r* *-commutative
Counts
3 → 46
Calls
3 calls:
5.0ms
(+ (* x (* z y)) (* x (* z (neg 1.0))))
10.0ms
(+ (* x 1.0) (+ (* x (* z y)) (* x (* z (neg 1.0)))))
5.0ms
(* x (* z y))

series29.0ms

Counts
3 → 9
Calls
3 calls:
11.0ms
(+ (* x (* z y)) (* x (* z (neg 1.0))))
11.0ms
(+ (* x 1.0) (+ (* x (* z y)) (* x (* z (neg 1.0)))))
7.0ms
(* x (* z y))

simplify51.0ms

Algorithm
egg-herbie
Counts
55 → 55
Iterations

Useful iterations: 0 (46.0ms)

IterNodesCost
04945486
14945486

prune51.0ms

Filtered
37 candidates to 55 candidates (-48.6%)
Pruning

8 alts after pruning (5 fresh and 3 done)

PrunedKeptTotal
New55055
Fresh055
Picked011
Done022
Total55863

Merged error: 0b

Counts
63 → 8

regimes288.0ms

Accuracy

86.5% (0.2b remaining)

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

bsearch26.0ms

Steps
ItersRangePoint
8
3.106241737212046e-114
3.3167583520353555e-111
5.342086898725273e-113
9
-3.228891628777518e-14
-6.051689292028549e-22
-3.628128241651189e-16

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03831
13831

end0.0ms

sample400.0ms

Algorithm
intervals
Results
219.0ms8000×body80valid
18.0ms668×body80invalid

Profiling

Loading profile data...