Details

Time bar (total: 38.9s)

analyze16.6s

Algorithm
search

sample127.0ms

Algorithm
intervals
Results
70.0ms123×body1280valid
18.0ms256×pre80true
15.0ms61×body640valid
4.0ms25×body320valid
2.0ms40×body80valid
1.0msbody160valid

simplify368.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0155
1225
2335
3395
4505
5705
6995
71245
81665
92595
102605
112605

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 12.4b

Counts
2 → 1

localize13.0ms

Local error

Found 3 expressions with local error:

0.1b
(+ x (- (tan (+ y z)) (tan a)))
0.2b
(- (tan (+ y z)) (tan a))
2.1b
(tan (+ y z))

rewrite20.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity add-log-exp
add-sqr-sqrt
tan-quot
pow1 add-exp-log add-cube-cbrt add-cbrt-cube
sub-neg tan-sum associate-+r+ diff-log sum-log frac-sub distribute-lft-out distribute-lft-out--
+-commutative associate-+r- flip3-- flip3-+ flip-- flip-+ difference-of-squares
Counts
3 → 42
Calls
3 calls:
6.0ms
(+ x (- (tan (+ y z)) (tan a)))
6.0ms
(- (tan (+ y z)) (tan a))
5.0ms
(tan (+ y z))

series119.0ms

Counts
3 → 9
Calls
3 calls:
41.0ms
(+ x (- (tan (+ y z)) (tan a)))
33.0ms
(- (tan (+ y z)) (tan a))
45.0ms
(tan (+ y z))

simplify37.0ms

Algorithm
egg-herbie
Counts
51 → 51
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
0196346
1467335
21316334
35002334

prune113.0ms

Filtered
39 candidates to 51 candidates (-30.8%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New411051
Fresh000
Picked101
Done000
Total421052

Merged error: 0.1b

Counts
52 → 10

localize18.0ms

Local error

Found 4 expressions with local error:

0.1b
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
0.2b
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
0.2b
(* (tan y) (tan z))

rewrite39.0ms

Algorithm
rewrite-expression-head
Rules
30×*-un-lft-identity
22×add-sqr-sqrt
15×add-cube-cbrt
13×times-frac
11×add-log-exp
add-exp-log add-cbrt-cube
tan-quot
pow1 distribute-lft-out
associate-/l*
associate-*r* associate-*l* associate-/r* associate-/l/
sub-neg associate-+r+ flip3-- flip3-+ diff-log sum-log associate-/r/ flip-- flip-+ distribute-lft-out-- difference-of-squares
cbrt-undiv +-commutative frac-times associate-+r- frac-2neg associate-*r/ div-exp pow-prod-down associate-*l/ frac-add prod-exp clear-num *-commutative frac-sub cbrt-unprod div-inv unswap-sqr
Counts
4 → 90
Calls
4 calls:
8.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
12.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
11.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
5.0ms
(* (tan y) (tan z))

series334.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z))))
131.0ms
(+ x (- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a)))
123.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (* (tan y) (tan z)))) (tan a))
22.0ms
(* (tan y) (tan z))

simplify117.0ms

Algorithm
egg-herbie
Counts
102 → 102
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
04491259
115031211
249921203
350011203

prune171.0ms

Filtered
75 candidates to 102 candidates (-36.0%)
Pruning

11 alts after pruning (11 fresh and 0 done)

PrunedKeptTotal
New957102
Fresh549
Picked101
Done000
Total10111112

Merged error: 0.1b

Counts
112 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (tan y) (tan z))
0.2b
(* (tan z) (tan z))
0.3b
(* (tan y) (tan y))
5.5b
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (* (- 1 (* (tan y) (tan z))) (- (tan y) (tan z))))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
42×tan-quot
22×add-sqr-sqrt
20×pow1
16×add-cube-cbrt *-un-lft-identity
15×add-exp-log frac-times add-cbrt-cube
12×associate-*r/ frac-sub
11×associate-*l/ associate-/r/ associate-/l/
associate-*r* associate-*l*
flip3-- flip--
swap-sqr
times-frac prod-exp cbrt-unprod associate-/l* add-log-exp
pow-prod-down *-commutative unswap-sqr
cbrt-undiv pow2 pow-plus div-exp pow-sqr pow-prod-up difference-of-squares
frac-2neg div-sub clear-num associate-/r* div-inv
Counts
4 → 123
Calls
4 calls:
5.0ms
(* (tan y) (tan z))
5.0ms
(* (tan z) (tan z))
7.0ms
(* (tan y) (tan y))
17.0ms
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (* (- 1 (* (tan y) (tan z))) (- (tan y) (tan z))))

series144.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(* (tan y) (tan z))
9.0ms
(* (tan z) (tan z))
9.0ms
(* (tan y) (tan y))
105.0ms
(/ (- (* (tan y) (tan y)) (* (tan z) (tan z))) (* (- 1 (* (tan y) (tan z))) (- (tan y) (tan z))))

simplify85.0ms

Algorithm
egg-herbie
Counts
135 → 135
Iterations

Useful iterations: 2 (74.0ms)

IterNodesCost
06051299
129651134
250011063

prune176.0ms

Filtered
93 candidates to 135 candidates (-45.2%)
Pruning

11 alts after pruning (10 fresh and 1 done)

PrunedKeptTotal
New1350135
Fresh01010
Picked011
Done000
Total13511146

Merged error: 0.1b

Counts
146 → 11

localize19.0ms

Local error

Found 4 expressions with local error:

0.2b
(- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a))
0.2b
(* (tan y) (tan z))
0.3b
(pow (* (tan y) (tan z)) 3)
29.0b
(cbrt (pow (* (tan y) (tan z)) 3))

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×tan-quot
10×*-un-lft-identity
pow1 add-exp-log add-cbrt-cube
cbrt-prod add-cube-cbrt
cube-div add-log-exp
frac-times pow-unpow cbrt-div associate-*r/ associate-*r* associate-*l* associate-*l/
cube-mult unpow-prod-down pow-pow unpow3 cube-prod pow-prod-down pow-exp prod-exp cbrt-unprod rem-cube-cbrt difference-of-squares sqr-pow
pow-to-exp sub-neg flip3-- times-frac pow1/3 diff-log *-commutative frac-sub flip-- rem-cbrt-cube distribute-lft-out-- unswap-sqr
Counts
4 → 82
Calls
4 calls:
22.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a))
5.0ms
(* (tan y) (tan z))
5.0ms
(pow (* (tan y) (tan z)) 3)
4.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

series201.0ms

Counts
4 → 12
Calls
4 calls:
119.0ms
(- (/ (+ (tan y) (tan z)) (- 1 (cbrt (pow (* (tan y) (tan z)) 3)))) (tan a))
22.0ms
(* (tan y) (tan z))
36.0ms
(pow (* (tan y) (tan z)) 3)
25.0ms
(cbrt (pow (* (tan y) (tan z)) 3))

simplify51.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
0377783
11645739
25001738

prune124.0ms

Filtered
69 candidates to 94 candidates (-36.2%)
Pruning

11 alts after pruning (9 fresh and 2 done)

PrunedKeptTotal
New94094
Fresh099
Picked011
Done011
Total9411105

Merged error: 0.1b

Counts
105 → 11

regimes1.1s

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02319
12319

end0.0ms

analyze15.8s

Algorithm
search

sample3.1s

Algorithm
intervals
Results
1.6s3989×body1280valid
516.0ms8000×pre80true
460.0ms1998×body640valid
105.0ms666×body320valid
51.0ms1084×body80valid
28.0ms263×body160valid

Profiling

Loading profile data...